go-gluon-publisher/.woodpecker.yml
Stefan 615413fcb3
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed
test drone releases
2023-05-30 20:22:18 +02:00

33 lines
540 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}
- ls -alh
publish:
image: plugins/gitea-release
settings:
base_url: https://git.freifunk-rhein-sieg.net
files:
- "go-gluon-publish-${GOOS}-${GOARCH}"
api_key:
from_secret: API_KEY
target: main
when:
event: tag
matrix:
GOOS:
- linux
GOARCH:
- arm64
- amd64