From 3177b1f6f8ad336b4123af88c3ef6bf42af7ce2f Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Tue, 25 Jul 2023 22:08:35 +0200 Subject: [PATCH] Add new build rule for "staging" branch --- .drone.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.drone.yml b/.drone.yml index ea721673..0607869e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -30,6 +30,25 @@ steps: exclude: - pull_request + - name: docker + image: plugins/docker + 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}" + - "dev" + when: + branch: + - staging + event: + exclude: + - pull_request + - name: notify image: plugins/matrix settings: