From 82a5573019f637b826d34b80c0c551114d9a65be Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Fri, 29 Dec 2023 19:51:28 +0100 Subject: [PATCH] [CI] Only run on push event --- .drone.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.drone.yml b/.drone.yml index c7d6ad6..743a104 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,6 +9,12 @@ steps: - image: 'docker.io/plugins/docker' name: 'publish' pull: 'always' + when: + branch: + - 'master' + event: + - 'push' + settings: # registery and repos @@ -38,6 +44,11 @@ steps: pull: 'always' settings: mtu: '1440' + when: + branch: + - 'master' + event: + - 'push' environment: KUBE_CONFIG: