Add woodpecker CI
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Stefan Hoffmann 2024-03-18 18:27:43 +01:00
parent 5ba7f23776
commit bcc4195234
Signed by: stefan
GPG Key ID: 230E4E5FC468C133

25
.woodpecker.yml Normal file
View File

@ -0,0 +1,25 @@
---
platform: linux/arm64
pipeline:
build:
image: golang
environment:
- GOOS=linux
- GOARCH=amd64
commands:
- go build .
docker:
image: woodpeckerci/plugin-docker-buildx
settings:
platforms: linux/amd64
registry: git.freifunk-rhein-sieg.net
repo: git.freifunk-rhein-sieg.net/freifunk-troisdorf/ubnt-freifunk-map-api
username:
from_secret: gitea_user
password:
from_secret: gitea_token
tags: ${CI_COMMIT_TAG}
when:
- branch: master