From 028e5c82b2def103c3e06baffd949f0f0dfc0d16 Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Wed, 27 Sep 2023 13:58:30 -0600 Subject: [PATCH] Don't remove base images --- scripts/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build b/scripts/build index 0005834..2b931c0 100755 --- a/scripts/build +++ b/scripts/build @@ -157,7 +157,7 @@ build-tag(){ else echo "Skipping image '$image'"; fi - if [[ "x$(grep removeafterpush ../.config 2> /dev/null)" == "x" ]];then + if [[ "x$(grep removeafterpush ../.config 2> /dev/null)" == "x" ]] && [[ "x$tag" != "xbase" ]];then docker rmi $target docker rmi "registry.eeems.codes/$image" fi