From 0068fa1166145e1a23dacc72a569278b6906fd92 Mon Sep 17 00:00:00 2001 From: Liam Steckler Date: Sat, 11 Jan 2025 10:28:17 -0800 Subject: [PATCH] Add Woodpecker workflow --- .woodpecker/docker-buildx.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .woodpecker/docker-buildx.yml diff --git a/.woodpecker/docker-buildx.yml b/.woodpecker/docker-buildx.yml new file mode 100644 index 0000000..29c11be --- /dev/null +++ b/.woodpecker/docker-buildx.yml @@ -0,0 +1,35 @@ +when: + branch: main + event: [push, pull_request] + +variables: + - &file Dockerfile + - &repo scm.gruezi.net/${CI_REPO} + +steps: + dryrun: + image: woodpeckerci/plugin-docker-buildx + settings: + dockerfile: *file + platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le + dry_run: true + repo: *repo + tags: latest + when: + event: pull_request + path: *file + + publish: + image: woodpeckerci/plugin-docker-buildx + settings: + dockerfile: *file + platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le + repo: *repo + registry: scm.gruezi.net + tags: latest + username: ${CI_REPO_OWNER} + password: + from_secret: forgejo_token + when: + event: push + path: *file