Browse Source

Playing with docker tags

master
Jesper Hess 2 years ago
parent
commit
779be19e04
Signed by untrusted user: graffen <jesper@graffen.dk> GPG Key ID: 351A89E40D763F0F
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      .drone.yml

+ 2
- 3
.drone.yml View File

@@ -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…
Cancel
Save