also push img to gitea #4

Merged
vista merged 4 commits from dev into master 2023-03-24 08:40:52 +01:00
2 changed files with 16 additions and 9 deletions

View File

@@ -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

View File

@@ -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