Write shell script to clean podman images

This commit is contained in:
Greg Hellings
2025-10-16 00:22:24 -05:00
parent 1797eed267
commit 72de86ff53
+4
View File
@@ -55,3 +55,7 @@ def bake [template: string] {
print $srcdir print $srcdir
copier copy $srcdir . copier copy $srcdir .
} }
def podman_image_clean [] {
podman rmi ...(^podman images --format=json | from json | where {|e| not ("Names" in $e)} | get Id)
}