Mount Docker socket into job containers for docker build
Some checks failed
CI / lint-and-test (push) Failing after 8s
CI / build (push) Has been skipped

Job containers need access to the DinD daemon for docker build/push.
Mount /var/run/docker.sock from DinD into job containers and set
docker_host in runner config.
This commit is contained in:
Julia McGhee
2026-03-21 17:32:53 +00:00
parent 0be7ad6dca
commit 0a8b65a496

View File

@@ -11,6 +11,8 @@ data:
capacity: 1
timeout: 1h
container:
options: "-v pnpm-store:/pnpm-store -e PNPM_STORE_DIR=/pnpm-store -e COREPACK_HOME=/pnpm-store/.corepack"
options: "-v pnpm-store:/pnpm-store -v /var/run/docker.sock:/var/run/docker.sock"
docker_host: tcp://localhost:2375
valid_volumes:
- "pnpm-store"
- "/var/run/docker.sock"