28 lines
659 B
YAML
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]
|