ci(runner): bind-mount docker socket via container.options
docker_host auto-mount did not expose the socket on runner 6.3.1; mount it explicitly so the deploy.json step's docker exec works. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
c8c8523400
commit
beceeb4c1f
1 changed files with 6 additions and 3 deletions
|
|
@ -17,7 +17,10 @@ container:
|
||||||
privileged: false
|
privileged: false
|
||||||
valid_volumes:
|
valid_volumes:
|
||||||
- '**'
|
- '**'
|
||||||
# Auto-detect and mount the host docker socket into job containers so steps
|
# Explicitly bind-mount the host docker socket into job containers so steps
|
||||||
# like "Update deploy.json" can `docker exec xetup-web`. ("-" disabled it.)
|
# like "Update deploy.json" can `docker exec xetup-web`. docker_host auto-mount
|
||||||
docker_host: ""
|
# ("") did not work on runner 6.3.1, so we mount the socket via options and
|
||||||
|
# let the job's default DOCKER_HOST (unix:///var/run/docker.sock) pick it up.
|
||||||
|
docker_host: "-"
|
||||||
|
options: "-v /var/run/docker.sock:/var/run/docker.sock"
|
||||||
force_pull: false
|
force_pull: false
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue