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:32:43 +00:00
|
|
|
image: woodpeckerci/plugin-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:
|
2023-05-30 18:30:01 +00:00
|
|
|
from_secret: gitea_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
|
2023-05-30 18:39:29 +00:00
|
|
|
- darwin
|
2023-05-29 20:44:59 +00:00
|
|
|
GOARCH:
|
|
|
|
- arm64
|
2023-05-30 18:39:29 +00:00
|
|
|
- arm
|
2023-05-29 20:44:59 +00:00
|
|
|
- amd64
|