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:
X9 Dev 2026-05-29 17:55:50 +02:00
parent c8c8523400
commit beceeb4c1f

View file

@ -17,7 +17,10 @@ container:
privileged: false
valid_volumes:
- '**'
# Auto-detect and mount the host docker socket into job containers so steps
# like "Update deploy.json" can `docker exec xetup-web`. ("-" disabled it.)
docker_host: ""
# Explicitly bind-mount the host docker socket into job containers so steps
# like "Update deploy.json" can `docker exec xetup-web`. docker_host auto-mount
# ("") 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