build(woodpecker): split updating docker builder into seperate job
All checks were successful
ci/woodpecker/push/builder Pipeline was successful
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/todo-check Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/cron/build Pipeline was successful
ci/woodpecker/cron/docker Pipeline was successful
ci/woodpecker/cron/release Pipeline was successful
ci/woodpecker/cron/todo-check Pipeline was successful
ci/woodpecker/cron/builder Pipeline was successful

Closes kemitix/git-next#7
This commit is contained in:
Paul Campbell 2024-04-09 20:59:42 +01:00
parent 70e0f94042
commit 0b5c91fedb
2 changed files with 15 additions and 14 deletions

View file

@ -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

15
.woodpecker/builder.yml Normal file
View file

@ -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