From cf1a5a532c80e7925c3cecfcdfd06828d94e8aee Mon Sep 17 00:00:00 2001 From: Michael Weimann Date: Mon, 28 Feb 2022 19:28:35 +0100 Subject: [PATCH] split trigger --- .drone.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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