Files
container-update-checker/.woodpecker/build.yml
2023-08-15 13:21:43 +02:00

38 lines
1.2 KiB
YAML

when:
branch: master
steps:
check_self:
# failure: ignore # this doesnt work
image: alpine
environment:
BASE: alpine:latest
TARGET: vistanarvas/${CI_REPO_NAME}:latest
commands:
- apk add curl jq dateutils
- sh check.sh
when:
cron: nightly
event: cron
build_and_publish:
image: woodpeckerci/plugin-docker-buildx
when:
cron: nightly
path:
include: [ '.woodpecker/build.yml', 'Dockerfile', 'check.sh' ]
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