From 7f2af12cb0fbf2a29c9da727d76d89c6d7c191f7 Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Thu, 3 Sep 2026 13:39:19 -0400 Subject: [PATCH] Adding woodpecker config --- .woodpecker.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..7a19221 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,26 @@ +pipeline: + build_test: + image: golang:1.25 + commands: + - go build + + build_release: + image: golang:1.25 + commands: + - go mod vendor + - GOOS=linux GOARCH=amd64 go build -o "dist/goblin-store-linux-amd64-${CI_COMMIT_TAG}" + - GOOS=windows GOARCH=amd64 go build -o "dist/goblin-store-windows-amd64-${CI_COMMIT_TAG}.exe" + when: + event: tag + + gitea_release: + image: plugins/gitea-release + settings: + api_key: + from_secret: gitea_api_key + base_url: https://git.metaunix.net + title: "${CI_COMMIT_TAG}" + files: + - dist/goblin-store-* + when: + event: tag