From 69d5e73564c2dd6a0207145a159af3b24e0a48a2 Mon Sep 17 00:00:00 2001 From: Shubham Agrawal Date: Sat, 30 Jan 2021 00:09:22 +0530 Subject: [PATCH] Fix pipeline yaml with auto tag suffix --- .drone.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.drone.yml b/.drone.yml index acee341..37df2df 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,30 +14,45 @@ steps: settings: repo: plugins/kaniko auto_tag: true + auto_tag_suffix: linux-amd64 dockerfile: docker/docker/Dockerfile.linux.amd64 username: from_secret: docker_username password: from_secret: docker_password + when: + event: + - push + - tag - name: gcr image: plugins/docker settings: repo: plugins/kaniko-gcr auto_tag: true + auto_tag_suffix: linux-amd64 dockerfile: docker/gcr/Dockerfile.linux.amd64 username: from_secret: docker_username password: from_secret: docker_password + when: + event: + - push + - tag - name: ecr image: plugins/docker settings: repo: plugins/kaniko-ecr auto_tag: true + auto_tag_suffix: linux-amd64 dockerfile: docker/ecr/Dockerfile.linux.amd64 username: from_secret: docker_username password: from_secret: docker_password + when: + event: + - push + - tag \ No newline at end of file