From d68724a470192372858a42f5f0e3141378d6be9f Mon Sep 17 00:00:00 2001 From: Adora Laura Kalb Date: Thu, 18 Apr 2024 10:50:22 +0200 Subject: [PATCH] filter pipeline --- .woodpecker/docker-deploy.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.woodpecker/docker-deploy.yml b/.woodpecker/docker-deploy.yml index 0aa3671..1d19555 100644 --- a/.woodpecker/docker-deploy.yml +++ b/.woodpecker/docker-deploy.yml @@ -1,3 +1,7 @@ +when: + - event: [pull_request, tag] + + steps: docker-deploy-pr: when: @@ -16,8 +20,7 @@ steps: docker-deploy-tag: when: - event: - - tag + event: tag image: woodpeckerci/plugin-docker-buildx settings: dockerfile: Dockerfile