chore(ci): use kaniko

This commit is contained in:
nyyu 2024-04-23 23:23:54 +02:00
parent 481f57daf9
commit 1c7166bbd4

View File

@ -1,16 +1,17 @@
steps: steps:
docker: docker:
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-kaniko
pull: true
settings: settings:
username: username:
from_secret: registry_username from_secret: registry_username
password: password:
from_secret: registry_password from_secret: registry_password
repo: ${DOCKER_REGISTRY}/${CI_REPO_OWNER}/pyload-ng repo: ${CI_REPO_OWNER}/pyload-ng
registry: ${DOCKER_REGISTRY} registry: ${DOCKER_REGISTRY}
mirror: https://${DOCKER_REGISTRY} mirror: https://${DOCKER_REGISTRY}
tags: latest tags: latest
build_args: VERSION=dev # build_args: VERSION=dev
when: when:
branch: main branch: main
event: [push, cron, tag, manual] event: [push, cron, tag, manual]