From fdc7b10a6e851f09ad07f42394f4fc6384333a4c Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Fri, 7 Jun 2024 23:20:53 +0530 Subject: [PATCH] fix: CI: publish only on master --- .woodpecker.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 8e767d9..7bedec5 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,5 +1,5 @@ -pipeline: - backend: +steps: + test: image: rust # environment: # - DATABASE_URL=postgres://postgres:password@database:5432/postgres @@ -11,7 +11,9 @@ pipeline: publish_bins: image: rust - + when: + event: [push, tag, deployment] + branch: master commands: - apt update - apt-get -y --no-install-recommends install gpg tar curl wget @@ -21,6 +23,9 @@ pipeline: publish: image: plugins/docker + when: + event: [push, tag, deployment] + branch: master settings: username: realaravinth password: -- 2.39.5