Commit 9611ad2d authored by Magnus Westergaard's avatar Magnus Westergaard
Browse files

DEICH-5586: Prune old dangling docker build cache daily.

parent 89a1669b
......@@ -65,12 +65,14 @@ e2e-tests:
- when: manual
allow_failure: true
# TODO: prune volumes if necessary
zork-cleanup:
stage: docker-cleanup
script:
- df -h /
- docker system df
- docker image prune -a -f # TODO: prune cache, volumes if necessary
- docker image prune -a -f
- docker builder prune -f --filter "until=72h"
- docker system df
- df -h /
rules:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment