From b500c3262c8ddf7b1f616f3cce13be502f6d4ac8 Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Sat, 11 Jun 2022 00:47:20 -0400 Subject: [PATCH] Added Woodpecker CI config --- .woodpecker.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..493e4c2 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,19 @@ +pipeline: + build: + image: golang:1.18 + commands: + - go mod vendor + - GOOS=linux GOARCH=amd64 go build -o "dist/muldap-linux-amd64-${CI_COMMIT_TAG}.bin" + - GOOS=windows GOARCH=amd64 go build -o "dist/muldap-windows-amd64-${CI_COMMIT_TAG}.exe" + + 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/muldap-* + when: + event: tag