Merge pull request #27142 from nothiaki/feat-artifact-rm-ignore

Feat artifact rm ignore
This commit is contained in:
openshift-merge-bot[bot]
2025-10-03 15:45:28 +00:00
committed by GitHub
11 changed files with 76 additions and 0 deletions

View File

@ -22,6 +22,9 @@ providing a name or digest of the artifact.
Print usage statement.
#### **--ignore**, **-i**
Remove artifacts in the local store, ignoring errors when trying to remove artifacts that do not exist.
## EXAMPLES
@ -49,6 +52,11 @@ Deleted: cee15f7c5ce3e86ae6ce60d84bebdc37ad34acfa9a2611cf47501469ac83a1ab
Deleted: 72875f8f6f78d5b8ba98b2dd2c0a6f395fde8f05ff63a1df580d7a88f5afa97b
```
Remove artifacts ignoring the errors if the artifact does not exist.
```
$ podman artifact rm -i 3f78d5b8ba98b2
```
## SEE ALSO
**[podman(1)](podman.1.md)**, **[podman-artifact(1)](podman-artifact.1.md)**