Added Woodpecker CI config
This commit is contained in:
parent
783d3a924d
commit
b500c3262c
19
.woodpecker.yml
Normal file
19
.woodpecker.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user