also push img to gitea #4
@@ -4,9 +4,8 @@ when:
|
|||||||
include: [ '.woodpecker/build-dev.yml', 'Dockerfile', 'check.sh' ]
|
include: [ '.woodpecker/build-dev.yml', 'Dockerfile', 'check.sh' ]
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
build_and_publish_gitea:
|
build_and_publish:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
registry: git.narvas.tech
|
|
||||||
settings:
|
settings:
|
||||||
repo: vistanarvas/container-update-checker,git.narvas.tech/vista/container-update-checker
|
repo: vistanarvas/container-update-checker,git.narvas.tech/vista/container-update-checker
|
||||||
tag: dev
|
tag: dev
|
||||||
|
|||||||
@@ -17,14 +17,22 @@ pipeline:
|
|||||||
|
|
||||||
build_and_publish:
|
build_and_publish:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
|
||||||
username: vistanarvas
|
|
||||||
password:
|
|
||||||
from_secret: DOCKERHUB_TOKEN
|
|
||||||
repo: vistanarvas/${CI_REPO_NAME}
|
|
||||||
auto_tag: true
|
|
||||||
when:
|
when:
|
||||||
cron: nightly
|
cron: nightly
|
||||||
path:
|
path:
|
||||||
include: [ '.woodpecker/build.yml', 'Dockerfile', 'check.sh' ]
|
include: [ '.woodpecker/build.yml', 'Dockerfile', 'check.sh' ]
|
||||||
event: [push, tag, deployment, cron, manual]
|
event: [push, tag, deployment, cron, manual]
|
||||||
|
settings:
|
||||||
|
repo: vistanarvas/container-update-checker,git.narvas.tech/vista/container-update-checker
|
||||||
|
auto_tag: true
|
||||||
|
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
|
||||||
Reference in New Issue
Block a user