chore(ci): build on push branch
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
bc0133b4c8
commit
94088b29fc
1 changed files with 14 additions and 2 deletions
|
@ -1,5 +1,17 @@
|
||||||
steps:
|
steps:
|
||||||
docker:
|
build:
|
||||||
|
image: woodpeckerci/plugin-kaniko
|
||||||
|
pull: true
|
||||||
|
settings:
|
||||||
|
dry-run: true
|
||||||
|
repo: ${CI_REPO_OWNER}/pyload-ng
|
||||||
|
registry: ${DOCKER_REGISTRY}
|
||||||
|
mirror: https://${DOCKER_REGISTRY}
|
||||||
|
tags: latest
|
||||||
|
build_args: VERSION=dev
|
||||||
|
when:
|
||||||
|
event: [push, cron, tag, manual]
|
||||||
|
push:
|
||||||
image: woodpeckerci/plugin-kaniko
|
image: woodpeckerci/plugin-kaniko
|
||||||
pull: true
|
pull: true
|
||||||
settings:
|
settings:
|
||||||
|
@ -13,5 +25,5 @@ steps:
|
||||||
tags: latest
|
tags: latest
|
||||||
build_args: VERSION=dev
|
build_args: VERSION=dev
|
||||||
when:
|
when:
|
||||||
branch: main
|
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||||
event: [push, cron, tag, manual]
|
event: [push, cron, tag, manual]
|
||||||
|
|
Loading…
Add table
Reference in a new issue