From 14bc1795265f22460c1c9c5e3dba39f21f8317f9 Mon Sep 17 00:00:00 2001 From: Ian Date: Mon, 28 Sep 2026 23:37:20 +0200 Subject: [PATCH] fix: remove images when update --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 3aedfc0..aee2944 100755 --- a/build.sh +++ b/build.sh @@ -37,7 +37,7 @@ fi if ((UPDATE)); then echo "Update requested: rebuilding ${IMAGE} with current Ubuntu package metadata." - podman rmi ${IMAGE_REPO} + podman rmi $(podman images -q ${IMAGE_REPO}) fi if [ ${DRY_RUN} == false ]; then