Playing with docker tags

This commit is contained in:
Jesper Hess 2019-03-16 20:09:06 +01:00
parent 36ad85c8ce
commit 779be19e04
Signed by untrusted user: graffen
GPG key ID: 351A89E40D763F0F

View file

@ -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