From 181ec8eb0f2a3a4eca0cbb058b5defb316bbfd53 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 1 Sep 2024 13:53:03 +0100 Subject: [PATCH] build(woodpecker): build docker image on push to next --- .woodpecker/push-next.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.woodpecker/push-next.yml b/.woodpecker/push-next.yml index 0794d485..3a0fe737 100644 --- a/.woodpecker/push-next.yml +++ b/.woodpecker/push-next.yml @@ -11,3 +11,16 @@ steps: repository_token: "776a3b928b852472c2af727a360c85c00af64b9f" prefix_regex: "(#|//) (TODO|FIXME): " debug: false + + docker-build: + when: + - event: push + branch: next + # INFO: https://woodpecker-ci.org/plugins/Docker%20Buildx + image: docker.io/woodpeckerci/plugin-docker-buildx:4.2.0 + settings: + username: kemitix + repo: git.kemitix.net/kemitix/git-next + dockerfile: Dockerfile + auto_tag: false + dry-run: true # don't push to remote repo