Update '.woodpecker/build.yml'
Some checks failed
ci/woodpecker/cron/build Pipeline failed
ci/woodpecker/manual/build Pipeline was successful

[CI SKIP]
This commit is contained in:
2023-03-11 21:50:55 +01:00
parent 9a90f11f39
commit 1c50546a46

View File

@@ -1,5 +1,6 @@
pipeline:
check_self:
# failure: ignore # this doesnt work
image: alpine
secrets: [ dockerhub_token ]
environment:
@@ -9,13 +10,11 @@ pipeline:
commands:
- apk add curl jq
- sh check.sh
failure: ignore
when:
cron: nightly
event: cron
build_and_publish:
depends_on: check_self
image: woodpeckerci/plugin-docker-buildx
settings:
username: vistanarvas
@@ -24,6 +23,7 @@ pipeline:
repo: vistanarvas/${CI_REPO_NAME}
auto_tag: true
when:
cron: nightly
path:
include: [ '.woodpecker/build.yml', 'Dockerfile', 'check.sh' ]
event: [push, tag, deployment, cron]