summaryrefslogtreecommitdiff
path: root/cmd/podman/images/prune.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-10-12 19:32:10 +0200
committerGitHub <noreply@github.com>2021-10-12 19:32:10 +0200
commit214c13da0a3958e001835288488d24f933337519 (patch)
tree6f1d67247500c982fdfb61b833d6a66925000683 /cmd/podman/images/prune.go
parent2905bc351b6ba9d1565584cb7dfd07cc2522f5c5 (diff)
parentab8fb3876d25efa2196dbea9d6e07e3ea6493c23 (diff)
downloadpodman-214c13da0a3958e001835288488d24f933337519.tar.gz
podman-214c13da0a3958e001835288488d24f933337519.tar.bz2
podman-214c13da0a3958e001835288488d24f933337519.zip
Merge pull request #11932 from flouthoc/build-prune
builder: Add support for builder prune
Diffstat (limited to 'cmd/podman/images/prune.go')
-rw-r--r--cmd/podman/images/prune.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/podman/images/prune.go b/cmd/podman/images/prune.go
index 6c39e5c69..fc7451c41 100644
--- a/cmd/podman/images/prune.go
+++ b/cmd/podman/images/prune.go
@@ -36,6 +36,11 @@ var (
func init() {
registry.Commands = append(registry.Commands, registry.CliCommand{
Command: pruneCmd,
+ Parent: buildxCmd,
+ })
+
+ registry.Commands = append(registry.Commands, registry.CliCommand{
+ Command: pruneCmd,
Parent: imageCmd,
})