ci: unquoted --health-cmd so the Postgres service is wired to the job
CI / build (push) Failing after 1m30s

A quoted '--health-cmd "pg_isready -U iios"' in the folded options scalar
splits on spaces, so docker received an invalid healthcheck command; the
service never went healthy and the job container couldn't resolve postgres:5432
(P1001). Match go-monorepo's proven unquoted '--health-cmd pg_isready'.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
kirti
2026-07-04 15:21:58 +00:00
parent 3abad4970f
commit 23f5159521
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
POSTGRES_PASSWORD: iios
POSTGRES_DB: iios
options: >-
--health-cmd "pg_isready -U iios"
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 10