Mount Docker socket in job containers for DinD
All checks were successful
Build Container / build (push) Successful in 59s
All checks were successful
Build Container / build (push) Successful in 59s
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
e61e70078a
commit
411b07e23c
1 changed files with 6 additions and 2 deletions
|
|
@ -7,7 +7,11 @@ runner:
|
|||
capacity: {{ forgejo_runner_capacity }}
|
||||
timeout: {{ forgejo_runner_timeout }}
|
||||
|
||||
# Even in host execution mode, some actions run in containers.
|
||||
# Use host networking so containers can access localhost services.
|
||||
# Container settings for docker execution mode
|
||||
container:
|
||||
# Host networking so containers can reach services (forge.ops.eblu.me, etc.)
|
||||
network: "host"
|
||||
# Mount Docker socket for container builds (DinD)
|
||||
options: "-v /var/run/docker.sock:/var/run/docker.sock"
|
||||
valid_volumes:
|
||||
- /var/run/docker.sock
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue