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] diff --git a/Dockerfile b/Dockerfile index 6de934d..d8f83e1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.12.5-alpine +FROM python:3.12.6-alpine # set version label ARG VERSION