From 730326ede851114c480ebbac919c7abfccf6a900 Mon Sep 17 00:00:00 2001 From: Adora Laura Kalb Date: Thu, 18 Apr 2024 10:13:09 +0200 Subject: [PATCH] add woodpecker CI --- .woodpecker/docker-deploy.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .woodpecker/docker-deploy.yml diff --git a/.woodpecker/docker-deploy.yml b/.woodpecker/docker-deploy.yml new file mode 100644 index 0000000..74a378c --- /dev/null +++ b/.woodpecker/docker-deploy.yml @@ -0,0 +1,30 @@ +steps: + docker-deploy-pr: + when: + - event: pull_request + image: woodpeckerci/plugin-docker-buildx + settings: + dockerfile: Dockerfile + platforms: linux/arm/v7,linux/arm64/v8,linux/amd64 + repo: lauralani/ntppool-exporter + registry: https://index.docker.io/v1/ + tags: pr-${CI_COMMIT_PULL_REQUEST} + username: lauralani + password: + from_secret: dockerhub_token + + + docker-deploy-tag: + when: + event: + - tag + image: woodpeckerci/plugin-docker-buildx + settings: + dockerfile: Dockerfile + platforms: linux/arm/v7,linux/arm64/v8,linux/amd64 + repo: lauralani/ntppool-exporter + registry: https://index.docker.io/v1/ + auto_tag: true + username: lauralani + password: + from_secret: dockerhub_token