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