go-gluon-publisher/.woodpecker.yml

31 lines
507 B
YAML
Raw Normal View History

2023-05-29 20:44:59 +00:00
---
platform: linux/arm64
clone:
git:
image: woodpeckerci/plugin-git
pipeline:
2023-05-29 20:47:34 +00:00
build:
image: golang:1.20
2023-05-29 20:48:42 +00:00
commands:
- go build -o go-gluon-publish-$GOOS-$GOARCH
2023-05-29 20:44:59 +00:00
2023-05-29 21:01:41 +00:00
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
2023-05-29 20:44:59 +00:00
matrix:
GOOS:
- linux
GOARCH:
- arm64
- amd64