ci: fix when cron
This commit is contained in:
parent
cb0b9a9b2a
commit
2d49b43fcc
2 changed files with 5 additions and 5 deletions
|
@ -29,7 +29,7 @@ steps:
|
||||||
DATE=$(date --iso-8601=seconds)
|
DATE=$(date --iso-8601=seconds)
|
||||||
echo "DATE=$DATE" >> .variables
|
echo "DATE=$DATE" >> .variables
|
||||||
when:
|
when:
|
||||||
- event: [push, pull_request]
|
- event: [push, pull_request, cron]
|
||||||
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
|
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
|
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 \
|
--label org.opencontainers.image.created=$DATE \
|
||||||
--file Dockerfile .
|
--file Dockerfile .
|
||||||
when:
|
when:
|
||||||
- event: [push, pull_request]
|
- event: [push, pull_request, cron]
|
||||||
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
|
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
|
||||||
...
|
...
|
||||||
|
|
|
@ -5,7 +5,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- gitleaks detect --no-git --verbose --source $CI_WORKSPACE
|
- gitleaks detect --no-git --verbose --source $CI_WORKSPACE
|
||||||
when:
|
when:
|
||||||
- event: [push, pull_request]
|
- event: [push, pull_request, cron]
|
||||||
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
|
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
|
||||||
|
|
||||||
hadolint:
|
hadolint:
|
||||||
|
@ -13,7 +13,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- hadolint Dockerfile
|
- hadolint Dockerfile
|
||||||
when:
|
when:
|
||||||
- event: [push, pull_request]
|
- event: [push, pull_request, cron]
|
||||||
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
|
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
|
||||||
|
|
||||||
shellcheck:
|
shellcheck:
|
||||||
|
@ -27,6 +27,6 @@ steps:
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
when:
|
when:
|
||||||
- event: [push, pull_request]
|
- event: [push, pull_request, cron]
|
||||||
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
|
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
|
||||||
...
|
...
|
||||||
|
|
Reference in a new issue