Add '.woodpecker/build-dev.yaml'
All checks were successful
ci/woodpecker/push/build-dev Pipeline was successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
2023-03-16 13:17:38 +01:00
parent 81a41040bb
commit ff8d6f4390

View File

@@ -0,0 +1,28 @@
pipeline:
check_base:
image: vistanarvas/container-update-checker:latest
secrets:
- source: dockerhub_token
target: docker_password
environment:
DOCKER_USERNAME: vistanarvas
BASE: ubuntu: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}
tag: dev
when:
branch: dev
path:
include: [ '.woodpecker/build-dev.yaml', 'build/*', 'Dockerfile' ]
cron: nightly
event: [push, tag, deployment, cron, manual]