ci: disable cache and enable manual runs
This commit is contained in:
parent
78a081854a
commit
e4994209a2
1 changed files with 3 additions and 2 deletions
|
@ -29,7 +29,7 @@ steps:
|
|||
DATE=$(date --iso-8601=seconds)
|
||||
echo "DATE=$DATE" >> .variables
|
||||
when:
|
||||
- event: [push, pull_request, cron]
|
||||
- event: [push, pull_request, cron, manual]
|
||||
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
|
||||
|
@ -44,6 +44,7 @@ steps:
|
|||
- docker buildx inspect --bootstrap
|
||||
- |
|
||||
docker buildx build \
|
||||
--no-cache \
|
||||
--platform=linux/amd64 \
|
||||
--push \
|
||||
--tag registry.mgrote.net/${CI_REPO_NAME}:${CI_COMMIT_SHA:0:8} \
|
||||
|
@ -56,6 +57,6 @@ steps:
|
|||
--label org.opencontainers.image.created=$DATE \
|
||||
--file Dockerfile .
|
||||
when:
|
||||
- event: [push, pull_request, cron]
|
||||
- event: [push, pull_request, cron, manual]
|
||||
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
|
||||
...
|
||||
|
|
Reference in a new issue