From b4b004be9460dd8cf20a0c10370e82f7212dffe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20B=C3=BClow?= Date: Mon, 18 Sep 2023 17:47:07 +0000 Subject: [PATCH] add pipeline --- .woodpecker.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..9f2047e --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,27 @@ +# Build and publish Docker images for multible architectures. +# +# Pushing an image to codeberg as container registry, +# package owner will be the repo owner. +# +# this config also shows usage of yaml aliases and +# was taken from https://codeberg.org/6543/docker-images/src/commit/37e29c227717c1c07d2776cddcf14725bf952875/.woodpecker/hello.yml + +when: + branch: main + +steps: + publish-builder: + image: woodpeckerci/plugin-docker-buildx + settings: + dockerfile: builder/Dockerfile + platforms: linux/arm64/v8,linux/amd64 + repo: git.jmbit.de/jmb/remnux-docker + registry: git.jmbit.de + tags: + - builder-latest + - builder + username: jmb + password: + from_secret: forgejo_token + when: + event: push