From 0635ffd00be3577de98e4d27ed61abb2ab959df5 Mon Sep 17 00:00:00 2001 From: Eduardo Silva Date: Thu, 13 Mar 2025 14:30:14 -0300 Subject: [PATCH] Enhance output formatting --- build_and_push.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/build_and_push.sh b/build_and_push.sh index cc12ef9..acd7f29 100755 --- a/build_and_push.sh +++ b/build_and_push.sh @@ -30,9 +30,13 @@ push_images() { echo "========== Pushing image: $IMAGE..." docker push "$IMAGE" if [ $? -eq 0 ]; then - echo "$IMAGE pushed successfully." + echo "" + echo "=== $IMAGE pushed successfully." + echo "" else - echo "Error pushing the image: $IMAGE" + echo "" + echo "=== ERROR PUSHING THE IMAGE: $IMAGE" + echo "" exit 1 fi done @@ -42,4 +46,5 @@ docker system prune -a build_images push_images -echo "Build and push operations completed successfully." +echo "==========================================================================================" +echo "========== Build and push operations completed successfully."