improve tracking

This commit is contained in:
JurajKubrican
2025-09-08 12:38:59 +02:00
parent 0323212d9d
commit bc0841c3c0
3 changed files with 3 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ jobs:
run: |
docker run -d --name temp-$IMAGE_NAME -p $TEST_PORT:54321 $IMAGE_NAME:latest
sleep 10 # Wait for the container to start
if curl -f http://localhost:$TEST_PORT/health; then
if curl -f --max-time 10 http://localhost:$TEST_PORT/health; then
echo "Health check passed"
docker stop temp-$IMAGE_NAME
docker rm temp-$IMAGE_NAME