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
|
image: plugins/docker
|
||||||
repo: docker.data.coop/cryptohagen-website
|
repo: docker.data.coop/cryptohagen-website
|
||||||
registry: docker.data.coop
|
registry: docker.data.coop
|
||||||
secrets: [DOCKER_USERNAME, DOCKER_PASSWORD]
|
|
||||||
username:
|
username:
|
||||||
from_secret: DOCKER_USERNAME
|
from_secret: DOCKER_USERNAME
|
||||||
password:
|
password:
|
||||||
from_secret: DOCKER_PASSWORD
|
from_secret: DOCKER_PASSWORD
|
||||||
tag:
|
tag:
|
||||||
- "${DRONE_BUILD_NUMBER}"
|
- "docker.data.coop/cryptohagen-website:${DRONE_BUILD_NUMBER}"
|
||||||
- "latest"
|
- "docker.data.coop/cryptohagen-website:latest"
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
|
Loading…
Reference in a new issue