From 1fc8fd0b9edbf36866f550d98cdea21f0771f174 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Tue, 20 Sep 2022 22:07:46 +0200 Subject: [PATCH] Fix drone config --- .drone.yml | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 124dec4..2d05fe4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -25,18 +25,20 @@ steps: image: plugins/npm settings: username: yarmo_eu - token: + password: from_secret: npm_token email: from_secret: npm_email -trigger: - event: - - tag - depends_on: - test +trigger: + branch: + - main + event: + - tag + --- kind: pipeline name: publish-docker-latest @@ -63,13 +65,15 @@ steps: repo: keyoxide/doip-proxy auto_tag: true -trigger: - event: - - tag - depends_on: - test +trigger: + branch: + - main + event: + - tag + --- kind: pipeline name: publish-docker-dev @@ -90,5 +94,7 @@ depends_on: - test trigger: + branch: + - main event: - push \ No newline at end of file