From d34250a50b81ed8c098540aab186a0202837f723 Mon Sep 17 00:00:00 2001 From: Julius de Jeu Date: Fri, 27 Nov 2020 19:52:56 +0100 Subject: [PATCH] auto tag drone --- .drone.yml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3a4f7b9..a8cca08 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,8 +6,6 @@ name: default steps: - name: kaniko image: ghcr.io/finitum/drone-kaniko:0.7.0 - when: - branch: [master] settings: cache: true username: @@ -16,17 +14,4 @@ steps: from_secret: REGISTRY_PASSWORD registry: harbor.voidcorp.nl repo: library/galerie - tags: latest -- name: kaniko-test - image: ghcr.io/finitum/drone-kaniko:0.7.0 - when: - branch: [test] - settings: - cache: true - username: - from_secret: REGISTRY_USER - password: - from_secret: REGISTRY_PASSWORD - registry: harbor.voidcorp.nl - repo: library/galerie - tags: test \ No newline at end of file + tags: ${DRONE_COMMIT_BRANCH} \ No newline at end of file