From 95971f9f7d0bfc96a67fec5026b8d3c7d0246b37 Mon Sep 17 00:00:00 2001 From: Jesper Hess Nielsen Date: Sat, 16 Mar 2019 20:30:25 +0100 Subject: [PATCH] Refactor .drone.yml a little --- .drone.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index fdd67b7..7362146 100644 --- a/.drone.yml +++ b/.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