also push img to gitea (#4)
Reviewed-on: #4
This commit was merged in pull request #4.
This commit is contained in:
@@ -4,9 +4,8 @@ when:
|
||||
include: [ '.woodpecker/build-dev.yml', 'Dockerfile', 'check.sh' ]
|
||||
|
||||
pipeline:
|
||||
build_and_publish_gitea:
|
||||
build_and_publish:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
registry: git.narvas.tech
|
||||
settings:
|
||||
repo: vistanarvas/container-update-checker,git.narvas.tech/vista/container-update-checker
|
||||
tag: dev
|
||||
|
||||
@@ -17,14 +17,22 @@ pipeline:
|
||||
|
||||
build_and_publish:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
username: vistanarvas
|
||||
password:
|
||||
from_secret: DOCKERHUB_TOKEN
|
||||
repo: vistanarvas/${CI_REPO_NAME}
|
||||
auto_tag: true
|
||||
when:
|
||||
cron: nightly
|
||||
path:
|
||||
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