diff --git a/.woodpecker.yml b/.woodpecker.yml index ad68337..f693034 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,5 +1,19 @@ 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: + branch: + exclude: ${CI_REPO_DEFAULT_BRANCH} + event: [push, cron, tag, manual] + push: image: woodpeckerci/plugin-kaniko pull: true settings: @@ -13,5 +27,5 @@ steps: tags: latest build_args: VERSION=dev when: - branch: main + branch: ${CI_REPO_DEFAULT_BRANCH} event: [push, cron, tag, manual]