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