forked from cryptohagen.dk/website
Playing with docker tags
This commit is contained in:
parent
36ad85c8ce
commit
779be19e04
|
@ -13,14 +13,13 @@ steps:
|
|||
image: plugins/docker
|
||||
repo: docker.data.coop/cryptohagen-website
|
||||
registry: docker.data.coop
|
||||
secrets: [DOCKER_USERNAME, DOCKER_PASSWORD]
|
||||
username:
|
||||
from_secret: DOCKER_USERNAME
|
||||
password:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
tag:
|
||||
- "${DRONE_BUILD_NUMBER}"
|
||||
- "latest"
|
||||
- "docker.data.coop/cryptohagen-website:${DRONE_BUILD_NUMBER}"
|
||||
- "docker.data.coop/cryptohagen-website:latest"
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
|
|
Loading…
Reference in a new issue