Skip to content

Commit

Permalink
Don't remove base images
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems authored Sep 27, 2023
1 parent 6b9cd75 commit 028e5c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 028e5c8

Please sign in to comment.