32 lines
811 B
YAML
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]
|