From 5d2e667ceb187e15646e0ff37e932ef3f8fd9a05 Mon Sep 17 00:00:00 2001 From: Kevin Midboe Date: Mon, 15 Aug 2022 20:34:59 +0200 Subject: [PATCH] Only build and publish docker image to github when pushing master --- .drone.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.drone.yml b/.drone.yml index ccd1b67..41de1c4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -73,6 +73,11 @@ steps: password: from_secret: GITHUB_PASSWORD tags: latest + when: + event: + - push + branch: + - master - name: deploy image: appleboy/drone-ssh