mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2025-04-17 07:55:12 +00:00
Enhance output formatting
This commit is contained in:
parent
91848d3fc5
commit
0635ffd00b
@ -30,9 +30,13 @@ push_images() {
|
|||||||
echo "========== Pushing image: $IMAGE..."
|
echo "========== Pushing image: $IMAGE..."
|
||||||
docker push "$IMAGE"
|
docker push "$IMAGE"
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "$IMAGE pushed successfully."
|
echo ""
|
||||||
|
echo "=== $IMAGE pushed successfully."
|
||||||
|
echo ""
|
||||||
else
|
else
|
||||||
echo "Error pushing the image: $IMAGE"
|
echo ""
|
||||||
|
echo "=== ERROR PUSHING THE IMAGE: $IMAGE"
|
||||||
|
echo ""
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
@ -42,4 +46,5 @@ docker system prune -a
|
|||||||
build_images
|
build_images
|
||||||
push_images
|
push_images
|
||||||
|
|
||||||
echo "Build and push operations completed successfully."
|
echo "=========================================================================================="
|
||||||
|
echo "========== Build and push operations completed successfully."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user