From 7a208be5e70f3b573e9170254e46a7881787c2e9 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Tue, 12 Oct 2021 18:50:21 +0200 Subject: [PATCH] fix(ci): conditions for latest and tagged builds --- .drone.yml | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8aba03b..12d60ea 100644 --- a/.drone.yml +++ b/.drone.yml @@ -66,9 +66,6 @@ steps: volumes: - name: docker_socket path: /var/run/docker.sock - when: - branch: - - master - name: notify image: drillster/drone-email @@ -92,9 +89,15 @@ volumes: path: /var/run/docker.sock trigger: + branch: + - master event: + include: + - push exclude: - tag + repo: + - volker.raschek/certbot-docker --- kind: pipeline @@ -118,9 +121,6 @@ steps: password: from_secret: container_image_registry_password no_cache: true - when: - branch: - - master - name: notify image: drillster/drone-email @@ -147,9 +147,15 @@ volumes: path: /var/run/docker.sock trigger: + branch: + - master event: + include: + - push exclude: - tag + repo: + - volker.raschek/certbot-docker --- kind: pipeline @@ -193,9 +199,15 @@ depends_on: - latest-armv7 trigger: + branch: + - master event: + include: + - push exclude: - tag + repo: + - volker.raschek/certbot-docker --- kind: pipeline