Added Woodpecker CI config
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Gregory Ballantine 2022-06-11 00:47:20 -04:00
parent 783d3a924d
commit b500c3262c

19
.woodpecker.yml Normal file
View File

@ -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