We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0046f3d commit fa65887Copy full SHA for fa65887
ci/test/02_run_container.sh
@@ -35,10 +35,13 @@ if [ -z "$DANGER_RUN_CI_ON_HOST" ]; then
35
36
# Still prune everything in case the filtered pruning doesn't work, or if labels were not set
37
# on a previous run. Belt and suspenders approach, should be fine to remove in the future.
38
+ # Prune images used by --external containers (e.g. build containers) when
39
+ # using podman.
40
echo "Prune all dangling images"
- docker image prune --force
41
+ podman image prune --force --external
42
fi
43
echo "Prune all dangling $CI_IMAGE_LABEL images"
44
+ # When detecting podman-docker, `--external` should be added.
45
docker image prune --force --filter "label=$CI_IMAGE_LABEL"
46
47
# shellcheck disable=SC2086
0 commit comments