ci: fix when cron
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/cron/lint Pipeline was successful
ci/woodpecker/cron/build Pipeline was successful

This commit is contained in:
Michael Grote 2024-05-14 21:39:34 +02:00
parent bf2b1ad04c
commit 91b7d26d08

View file

@ -29,7 +29,7 @@ steps:
DATE=$(date --iso-8601=seconds)
echo "DATE=$DATE" >> .variables
when:
- event: [push, pull_request]
- event: [push, pull_request, cron]
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
build_and_push: # damit dieser Step laufen kann muss das Repo in der Woodpecker-GUI "privilegiert" sein
@ -56,6 +56,6 @@ steps:
--label org.opencontainers.image.created=$DATE \
--file Dockerfile .
when:
- event: [push, pull_request]
- event: [push, pull_request, cron]
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
...