fix: remove images when update
This commit is contained in:
@@ -37,7 +37,7 @@ fi
|
|||||||
|
|
||||||
if ((UPDATE)); then
|
if ((UPDATE)); then
|
||||||
echo "Update requested: rebuilding ${IMAGE} with current Ubuntu package metadata."
|
echo "Update requested: rebuilding ${IMAGE} with current Ubuntu package metadata."
|
||||||
podman rmi ${IMAGE_REPO}
|
podman rmi $(podman images -q ${IMAGE_REPO})
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ${DRY_RUN} == false ]; then
|
if [ ${DRY_RUN} == false ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user