From 5d8c75ad45a929d6b17617ea6a09d9efb6c03c7a Mon Sep 17 00:00:00 2001 From: Aire-One Date: Fri, 9 Dec 2022 21:12:24 +0100 Subject: [PATCH] ci(docker-build): fix `when` --- .woodpecker/docker-build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.woodpecker/docker-build.yml b/.woodpecker/docker-build.yml index fb50dcd..58381b9 100644 --- a/.woodpecker/docker-build.yml +++ b/.woodpecker/docker-build.yml @@ -1,7 +1,6 @@ variables: - &buildx woodpeckerci/plugin-docker-buildx:2.0.0 - &platforms linux/amd64 - - &when_path ".woodpecker/docker-build.yml" matrix: DOCKERFILE: @@ -19,7 +18,7 @@ pipeline: when: event: pull_request path: - - *when_path + - .woodpecker/docker-build.yml - .woodpecker/docker/${DOCKERFILE} publish: @@ -37,7 +36,7 @@ pipeline: when: event: push path: - - *when_path + - .woodpecker/docker-build.yml - .woodpecker/docker/${DOCKERFILE} branches: master