docker-pyload-ng/.woodpecker.yml
nyyu 354cc39cf6
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
chore(ci): build on push branch
2024-09-09 21:43:52 +02:00

32 lines
811 B
YAML

steps:
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:
username:
from_secret: registry_username
password:
from_secret: registry_password
repo: ${CI_REPO_OWNER}/pyload-ng
registry: ${DOCKER_REGISTRY}
mirror: https://${DOCKER_REGISTRY}
tags: latest
build_args: VERSION=dev
when:
branch: ${CI_REPO_DEFAULT_BRANCH}
event: [push, cron, tag, manual]