From 48ca97aeb57064908c5a34f0ad3c8bd385b65d8e Mon Sep 17 00:00:00 2001 From: surtur Date: Wed, 17 Mar 2021 01:11:36 +0100 Subject: [PATCH] docker: add multiple different image tags rolling: * latest * edge-dind fixed to a commit: * ${DRONE_COMMIT_SHA:0:8} * ${DRONE_COMMIT_SHA:0:8}-edge-dind * ${DRONE_COMMIT_SHA:0:8}-linux-amd64 --- .drone.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7f8ef98..a71cab1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -97,15 +97,20 @@ steps: pull: always image: plugins/docker:linux-amd64 settings: - auto_tag: true - auto_tag_suffix: linux-amd64 daemon_off: false dockerfile: docker/docker/Dockerfile.linux.amd64 - password: - from_secret: docker_password + tags: + - latest + - edge-dind + - linux-amd64 + - ${DRONE_COMMIT_SHA:0:8} + - ${DRONE_COMMIT_SHA:0:8}-edge-dind + - ${DRONE_COMMIT_SHA:0:8}-linux-amd64 repo: immawanderer/drone-docker username: from_secret: docker_username + password: + from_secret: docker_password when: branch: [edge-dind] event: