From bcc41952348fc923f72bf5de267af791c1aa0fcc Mon Sep 17 00:00:00 2001 From: Stefan Date: Mon, 18 Mar 2024 18:27:43 +0100 Subject: [PATCH] Add woodpecker CI --- .woodpecker.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..4ee6682 --- /dev/null +++ b/.woodpecker.yml @@ -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 \ No newline at end of file