diff --git a/.woodpecker.yml b/.woodpecker.yml index 9d8cf27..5682d15 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -10,12 +10,12 @@ pipeline: build: image: *golang environment: - TAG: ${CI_COMMIT_TAG:-latest} + TAG: ${CI_COMMIT_TAG} commands: - go build - ART=/artifacts/deblan/capture - test -d $ART || mkdir $ART - cp capture $ART/capture-latest - - test -z ${CI_COMMIT_TAG} && cp capture $ART/capture-$TAG || true + - test -z $TAG && cp capture $ART/capture-$TAG || true volumes: - /var/www/html/artifacts:/artifacts