From 763b6d6ee5b2d0a6c4c3309cbb292a4c1bada74b Mon Sep 17 00:00:00 2001 From: Michael Weimann Date: Sun, 10 Oct 2021 19:55:59 +0200 Subject: [PATCH] run docker publish only for the main branch --- .drone.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.drone.yml b/.drone.yml index c461d14..64400b2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -26,6 +26,9 @@ steps: from_secret: "docker_username" password: from_secret: "docker_password" + when: + branch: + - main image_pull_secrets: - dockerconfig -- 2.30.2