add woodpecker pipeline
This commit was merged in pull request #1.
This commit is contained in:
26
.woodpecker/build.yml
Normal file
26
.woodpecker/build.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
pipeline:
|
||||
check_base:
|
||||
image: vistanarvas/container-update-checker:latest
|
||||
secrets: [ DOCKERHUB_TOKEN ]
|
||||
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
|
||||
dockerfile: ./build/Dockerfile
|
||||
repo: vistanarvas/${CI_REPO_NAME}
|
||||
auto_tag: true
|
||||
when:
|
||||
path:
|
||||
include: [ '.woodpecker/build.yml', 'build/*' ]
|
||||
cron: nightly
|
||||
event: [push, tag, deployment, cron]
|
||||
Reference in New Issue
Block a user