33 lines
552 B
YAML
33 lines
552 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: 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
|
|
target: main
|
|
when:
|
|
event: tag
|
|
|
|
matrix:
|
|
GOOS:
|
|
- linux
|
|
GOARCH:
|
|
- arm64
|
|
- amd64
|