diff --git a/.woodpecker.yml b/.woodpecker.yml index a8f9d90..0bbd00d 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -14,6 +14,7 @@ pipeline: - ART=/artifacts/deblan/capture - test -d $ART || mkdir $ART - cp capture $ART/capture-latest - - test -z ${CI_COMMIT_TAG} && cp capture $ART/capture-${CI_COMMIT_TAG} || true + - TAG=${CI_COMMIT_TAG} + - test -z $TAG && cp capture $ART/capture-${TAG} || true volumes: - /var/www/html/artifacts:/artifacts