Skip to content

Commit

Permalink
docker: add multiple different image tags
Browse files Browse the repository at this point in the history
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
  • Loading branch information
1 parent 6b86978 commit 1ae4536
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1ae4536

Please sign in to comment.