Refactor .drone.yml a little more
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
99d6b6b785
commit
8249ba8c37
19
.drone.yml
19
.drone.yml
|
@ -11,15 +11,16 @@ steps:
|
||||||
|
|
||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: docker.data.coop/data-coop-website
|
settings:
|
||||||
registry: docker.data.coop
|
repo: docker.data.coop/data-coop-website
|
||||||
username:
|
registry: docker.data.coop
|
||||||
from_secret: DOCKER_USERNAME
|
username:
|
||||||
password:
|
from_secret: DOCKER_USERNAME
|
||||||
from_secret: DOCKER_PASSWORD
|
password:
|
||||||
tags:
|
from_secret: DOCKER_PASSWORD
|
||||||
- "${DRONE_BUILD_NUMBER}"
|
tags:
|
||||||
- "latest"
|
- "${DRONE_BUILD_NUMBER}"
|
||||||
|
- "latest"
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
|
Loading…
Reference in a new issue