ci(forgejo): DOCKER_HOST=host.docker.internal:2375 for DinD jobs
Some checks failed
CI / Dockerfile Package Check (push) Successful in 35s
CI / OpenSpec Validate (push) Successful in 3m15s
CI / Security Scan (push) Successful in 3m27s
CI / Typecheck (push) Successful in 4m39s
CI / Unit Tests (push) Failing after 4m19s
CI / Build (push) Successful in 4m19s
CI / Journal Image Smoke Test (push) Failing after 6m32s
CI / Lint (push) Successful in 14m17s
CI / E2E Tests (push) Failing after 2m42s
CI / Visual Tests (push) Has been cancelled
Some checks failed
CI / Dockerfile Package Check (push) Successful in 35s
CI / OpenSpec Validate (push) Successful in 3m15s
CI / Security Scan (push) Successful in 3m27s
CI / Typecheck (push) Successful in 4m39s
CI / Unit Tests (push) Failing after 4m19s
CI / Build (push) Successful in 4m19s
CI / Journal Image Smoke Test (push) Failing after 6m32s
CI / Lint (push) Successful in 14m17s
CI / E2E Tests (push) Failing after 2m42s
CI / Visual Tests (push) Has been cancelled
Verified empirically: from a job container the DinD daemon is reachable at host.docker.internal:2375 (host-gateway 172.17.0.1), not docker-in-docker (a host-network alias absent inside DinD). Runner container.network reverted to "" (a host network name is not found inside DinD and fails every job). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
ee195787ac
commit
d9660abee1
1 changed files with 2 additions and 2 deletions
|
|
@ -199,7 +199,7 @@ jobs:
|
|||
DATABASE_URL: postgres://trails:trails@localhost:5432/trails
|
||||
# The DinD daemon lives at this address on the runner network; the job
|
||||
# container needs it explicitly (it has no /var/run/docker.sock).
|
||||
DOCKER_HOST: tcp://docker-in-docker:2375
|
||||
DOCKER_HOST: tcp://host.docker.internal:2375
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
- uses: pnpm/action-setup@v6
|
||||
|
|
@ -340,7 +340,7 @@ jobs:
|
|||
--health-retries 20
|
||||
env:
|
||||
DATABASE_URL: postgres://trails:trails@localhost:5432/trails
|
||||
DOCKER_HOST: tcp://docker-in-docker:2375
|
||||
DOCKER_HOST: tcp://host.docker.internal:2375
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
- uses: pnpm/action-setup@v6
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue