Add '.woodpecker/build.yml'
Some checks failed
ci/woodpecker/manual/build Pipeline failed

This commit is contained in:
2023-03-17 22:21:46 +01:00
parent e6d114933b
commit bc8251a42c

30
.woodpecker/build.yml Normal file
View File

@@ -0,0 +1,30 @@
when:
branch: master
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
when:
path:
include: [ '.woodpecker/build.yml', 'build/*', 'Dockerfile' ]
cron: nightly
event: [push, tag, deployment, cron, manual]