go-gluon-publisher/.woodpecker.yml
Stefan 92190ca655
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
added publishing to gitea releases
2023-05-29 23:01:41 +02:00

31 lines
507 B
YAML

---
platform: linux/arm64
clone:
git:
image: woodpeckerci/plugin-git
pipeline:
build:
image: golang:1.20
commands:
- go build -o go-gluon-publish-$GOOS-$GOARCH
publish:
image: woodpeckerci/plugin-gitea-release
settings:
base_url: https://git.freifunk-rhein-sieg.net
files:
- "go-gluon-publish-$GOOS-$GOARCH"
api_key:
from_secret: API_KEY
when:
event: tag
matrix:
GOOS:
- linux
GOARCH:
- arm64
- amd64