From 0b5c91fedbb1909e188f3fb67a3b0dfe9b6289ba Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Tue, 9 Apr 2024 20:59:42 +0100 Subject: [PATCH] build(woodpecker): split updating docker builder into seperate job Closes kemitix/git-next#7 --- .woodpecker/build.yml | 14 -------------- .woodpecker/builder.yml | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 14 deletions(-) create mode 100644 .woodpecker/builder.yml diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml index bf914498..e9b9fc8b 100644 --- a/.woodpecker/build.yml +++ b/.woodpecker/build.yml @@ -1,19 +1,5 @@ steps: - update-builder-image: - when: - - event: cron - image: docker.io/woodpeckerci/plugin-docker-buildx:latest - settings: - username: kemitix - repo: git.kemitix.net/kemitix/git-next-builder - auto_tag: true - dockerfile: Dockerfile.builder - dry-run: false # push to remote repo - registry: git.kemitix.net - password: - from_secret: woodpecker-docker-push - build: when: - event: push diff --git a/.woodpecker/builder.yml b/.woodpecker/builder.yml new file mode 100644 index 00000000..ebf1c9ca --- /dev/null +++ b/.woodpecker/builder.yml @@ -0,0 +1,15 @@ +steps: + + update-builder-image: + when: + - event: cron + image: docker.io/woodpeckerci/plugin-docker-buildx:latest + settings: + username: kemitix + repo: git.kemitix.net/kemitix/git-next-builder + auto_tag: true + dockerfile: Dockerfile.builder + dry-run: false # push to remote repo + registry: git.kemitix.net + password: + from_secret: woodpecker-docker-push