Refactor .drone.yml a little more

This commit is contained in:
Jesper Hess 2019-03-16 20:28:36 +01:00
parent 99d6b6b785
commit 8249ba8c37
Signed by untrusted user: graffen
GPG key ID: 351A89E40D763F0F

View file

@ -11,15 +11,16 @@ steps:
- name: docker
image: plugins/docker
repo: docker.data.coop/data-coop-website
registry: docker.data.coop
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
tags:
- "${DRONE_BUILD_NUMBER}"
- "latest"
settings:
repo: docker.data.coop/data-coop-website
registry: docker.data.coop
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
tags:
- "${DRONE_BUILD_NUMBER}"
- "latest"
when:
branch:
- master