ci: unquoted --health-cmd so the Postgres service is wired to the job
CI / build (push) Failing after 1m30s
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user