Skip to content

Commit 229c281

Browse files
Update .github/workflows/build.yml
--wait-timeout is a no-op without --wait docker compose up -d --wait-timeout 300 passes a --wait-timeout but omits the --wait flag. In Docker Compose v2, --wait-timeout specifies how long to wait for services to become healthy, but only when --wait is also provided. Without --wait, Docker Compose starts containers in detached mode and returns immediately without checking health status — --wait-timeout 300 is silently ignored. The intent here (waiting up to 300 seconds for services to be healthy) requires adding --wait: Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent de83ee2 commit 229c281

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ jobs:
322322
docker --version
323323
docker compose version
324324
echo "Starting containers..."
325-
docker compose up -d --wait-timeout 300
325+
docker compose up -d --wait --wait-timeout 300
326326
echo "Docker compose up completed. Container status:"
327327
docker compose ps -a
328328
docker ps -a --format 'table {{.Names}}\t{{.Status}}'

0 commit comments

Comments
 (0)