Skip to content
Snippets Groups Projects

feat: docker system prune at cleanup

Merged Wouter Deconinck requested to merge ci-cleanup-docker-system-prune into master
+ 11
1
@@ -513,7 +513,7 @@ benchmarks:physics:
@@ -513,7 +513,7 @@ benchmarks:physics:
strategy: depend
strategy: depend
allow_failure: false
allow_failure: false
cleanup:
clean:
stage: finalize
stage: finalize
dependencies:
dependencies:
- version
- version
@@ -528,3 +528,13 @@ cleanup:
@@ -528,3 +528,13 @@ cleanup:
if [ "$CI_PIPELINE_SOURCE" == "merge_request_event" ]; then
if [ "$CI_PIPELINE_SOURCE" == "merge_request_event" ]; then
./gitlab-ci/cleanup_registry.sh -i jug_xl -r 69 ${NIGHTLY_TAG}
./gitlab-ci/cleanup_registry.sh -i jug_xl -r 69 ${NIGHTLY_TAG}
fi
fi
 
- docker images
 
 
deep_clean:
 
stage: finalize
 
dependencies:
 
- clean
 
when: manual
 
script:
 
- docker system prune --force
 
- docker images
Loading