Files
msmtp/.woodpecker/build.yml
2023-03-18 01:54:50 +01:00

30 lines
849 B
YAML

when:
branch: master
event: [push, tag, deployment, cron, manual]
cron: nightly
path:
include: [ '.woodpecker/build.yml', 'build/*', 'Dockerfile' ]
pipeline:
check_base:
image: vistanarvas/container-update-checker:latest
secrets:
- source: dockerhub_token
target: docker_password
environment:
DOCKER_USERNAME: vistanarvas
BASE: alpine:latest
TARGET: vistanarvas/${CI_REPO_NAME}:latest
when:
cron: nightly
event: cron
build_and_publish:
image: woodpeckerci/plugin-docker-buildx
settings:
username: vistanarvas
password:
from_secret: DOCKERHUB_TOKEN
context: ./build
repo: vistanarvas/${CI_REPO_NAME}
auto_tag: true