From d0c8c47edfd83ba1db899b7dd6eb6c0727a04e0b Mon Sep 17 00:00:00 2001 From: Eduardo Silva Date: Wed, 10 Jul 2024 19:43:42 -0300 Subject: [PATCH] add system prune -a before building --- build_and_push.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build_and_push.sh b/build_and_push.sh index f62a9e5..c3d31b3 100755 --- a/build_and_push.sh +++ b/build_and_push.sh @@ -31,6 +31,7 @@ push_images() { done } +docker system prune -a build_images push_images