From cfd96ab245a9850cd0a30e32922fc47b76a5694e Mon Sep 17 00:00:00 2001 From: MassiveBox Date: Mon, 31 Oct 2022 18:39:19 +0100 Subject: [PATCH] Add Woodpecker CI --- .woodpecker.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..c76176a --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,28 @@ +pipeline: + + build: + image: golang + commands: + - go get ecodash + - go build + + docker-publish: + image: plugins/docker + settings: + registry: gitea.massivebox.net + repo: gitea.massivebox.net/massivebox/ecodash + auto_tag: true + username: massivebox + password: + from_secret: auth_token + + gitea-publish: + image: plugins/gitea-release + settings: + base_url: https://gitea.massivebox.net + files: ecodash + api_key: + from_secret: auth_token + title: ${CI_COMMIT_TAG} + when: + event: tag