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:
|
2023-05-30 18:22:18 +00:00
|
|
|
image: plugins/gitea-release
|
2023-05-29 21:01:41 +00:00
|
|
|
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
|