forked from kemitix/git-next
build(woodpecker): split updating docker builder into seperate job
Closes kemitix/git-next#7
This commit is contained in:
parent
70e0f94042
commit
0b5c91fedb
2 changed files with 15 additions and 14 deletions
|
@ -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
15
.woodpecker/builder.yml
Normal 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
|
Loading…
Reference in a new issue