Loop to check the health status
This commit is contained in:
@@ -54,7 +54,7 @@ jobs:
|
||||
if [ "$status" = "healthy" ]; then
|
||||
echo "Container is healthy"
|
||||
exit 0
|
||||
elif [ "$status" = "unhealthy" ]; then
|
||||
else
|
||||
echo "Container is unhealthy"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user