From 94088b29fcb4762a72dd7a0a46ea9972b262c932 Mon Sep 17 00:00:00 2001 From: nyyu Date: Mon, 9 Sep 2024 21:38:48 +0200 Subject: [PATCH] chore(ci): build on push branch --- .woodpecker.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index ad68337..242f1af 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,5 +1,17 @@ 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 pull: true settings: @@ -13,5 +25,5 @@ steps: tags: latest build_args: VERSION=dev when: - branch: main + branch: ${CI_REPO_DEFAULT_BRANCH} event: [push, cron, tag, manual]