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:
|
2023-05-29 21:07:15 +00:00
|
|
|
- go build -o go-gluon-publish-${GOOS}-${GOARCH}
|
|
|
|
- ls -alh
|
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:
|
2023-05-29 21:07:15 +00:00
|
|
|
- "go-gluon-publish-${GOOS}-${GOARCH}"
|
2023-05-29 21:01:41 +00:00
|
|
|
api_key:
|
|
|
|
from_secret: API_KEY
|
2023-05-29 21:11:07 +00:00
|
|
|
target: main
|
2023-05-29 21:01:41 +00:00
|
|
|
when:
|
|
|
|
event: tag
|
|
|
|
|
2023-05-29 20:44:59 +00:00
|
|
|
matrix:
|
|
|
|
GOOS:
|
|
|
|
- linux
|
|
|
|
GOARCH:
|
|
|
|
- arm64
|
|
|
|
- amd64
|