diff --git a/.woodpecker/release.yaml b/.woodpecker/release.yaml new file mode 100644 index 0000000..265af95 --- /dev/null +++ b/.woodpecker/release.yaml @@ -0,0 +1,21 @@ +labels: + platform: linux/amd64 + +steps: + build: + when: + event: [push] + image: golang:1.24 + commands: + - go get + - ./mkrel.sh epuppy v1-${CI_COMMIT_SHA:0:8} + #- ./mkrel.sh epuppy ${CI_COMMIT_TAG} + + +publish: + image: woodpeckerci/plugin-release + settings: + files: + - 'releases/epuppy-*-v1-${CI_COMMIT_SHA:0:8}' + api_key: + from_secret: ACCESS_TOKEN