Refactor .drone.yml a little
This commit is contained in:
parent
e9f7390aac
commit
95971f9f7d
19
.drone.yml
19
.drone.yml
|
@ -11,15 +11,16 @@ steps:
|
|||
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
repo: docker.data.coop/cryptohagen-website
|
||||
registry: docker.data.coop
|
||||
username:
|
||||
from_secret: DOCKER_USERNAME
|
||||
password:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
tag:
|
||||
- "${DRONE_BUILD_NUMBER}"
|
||||
- "latest"
|
||||
settings:
|
||||
repo: docker.data.coop/cryptohagen-website
|
||||
registry: docker.data.coop
|
||||
username:
|
||||
from_secret: DOCKER_USERNAME
|
||||
password:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
tags:
|
||||
- "${DRONE_BUILD_NUMBER}"
|
||||
- "latest"
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
|
|
Loading…
Reference in a new issue