Merge pull request #23846 from flouthoc/prune-cleancachemount

prune: add `--build-cache` to support clearing build cache using `CleanCacheMount`
This commit is contained in:
openshift-merge-bot[bot]
2024-09-05 18:47:56 +00:00
committed by GitHub
12 changed files with 87 additions and 9 deletions

View File

@ -17,6 +17,10 @@ The image prune command does not prune cache images that only use layers that ar
Remove dangling images and images that have no associated containers.
#### **--build-cache**
Remove persistent build cache create for `--mount=type=cache`.
#### **--external**
Remove images even when they are used by external containers (e.g., build containers).