diff --git a/.drone.yml b/.drone.yml index 20e58ea..8ce881e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -28,10 +28,24 @@ steps: from_secret: "docker_password" when: event: - - tag - push branch: - main +- name: docker-publish-tag + image: plugins/docker + settings: + registry: registry.wtf-eg.net + repo: registry.wtf-eg.net/ki-backend + target: ki-backend + auto_tag: true + username: + from_secret: "docker_username" + password: + from_secret: "docker_password" + when: + event: + - tag + image_pull_secrets: - dockerconfig