From 8249ba8c3786d9ad259ce15179cd1aa96f01a5fd Mon Sep 17 00:00:00 2001 From: Jesper Hess Nielsen Date: Sat, 16 Mar 2019 20:28:36 +0100 Subject: [PATCH] Refactor .drone.yml a little more --- .drone.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 85c5efe..59647e7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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