From 1ae4536a1e38d54e3d29812b70e52fabd25530b7 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 ef1bdfa..5330a11 100644 --- a/.drone.yml +++ b/.drone.yml @@ -92,15 +92,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: