docker-homebridge/.woodpecker.yml
nyyu ddae87ac6a
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix(ci): dont build two times
2024-09-09 21:46:05 +02:00

28 lines
659 B
YAML

steps:
build:
image: woodpeckerci/plugin-kaniko
pull: true
settings:
dry-run: true
repo: ${CI_REPO_OWNER}/homebridge
registry: ${DOCKER_REGISTRY}
tags: latest
when:
branch:
exclude: ${CI_REPO_DEFAULT_BRANCH}
event: [push, manual, tag]
push:
image: woodpeckerci/plugin-kaniko
pull: true
settings:
username:
from_secret: registry_username
password:
from_secret: registry_password
repo: ${CI_REPO_OWNER}/homebridge
registry: ${DOCKER_REGISTRY}
tags: latest
when:
branch: ${CI_REPO_DEFAULT_BRANCH}
event: [push, manual, tag]