37 lines
1.3 KiB
YAML
37 lines
1.3 KiB
YAML
when:
|
|
branch: dev
|
|
path:
|
|
include: [ '.woodpecker/build-dev.yml', 'Dockerfile', 'check.sh' ]
|
|
|
|
pipeline:
|
|
# build_and_publish_docker:
|
|
# image: woodpeckerci/plugin-docker-buildx
|
|
# settings:
|
|
# username: vistanarvas
|
|
# password:
|
|
# from_secret: DOCKERHUB_TOKEN
|
|
# repo: vistanarvas/${CI_REPO_NAME}
|
|
# tag: dev
|
|
build_and_publish_gitea:
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
registry: git.narvas.tech
|
|
settings:
|
|
repo: vistanarvas/container-update-checker,git.narvas.tech/vista/container-update-checker
|
|
tag: dev
|
|
logins:
|
|
# Default DockerHub login
|
|
- registry: https://index.docker.io/v1/
|
|
username: vistanarvas
|
|
password:
|
|
from_secret: DOCKERHUB_TOKEN
|
|
# Additional Gitea login
|
|
- registry: https://git.narvas.tech
|
|
username: vista
|
|
password:
|
|
from_secret: GITEA_TOKEN
|
|
# settings:
|
|
# username: vista
|
|
# password:
|
|
# from_secret: GITEA_TOKEN
|
|
# repo: vista/${CI_REPO_NAME}
|
|
# tag: dev |