Fix act_runner: add explicit DOCKER_HOST env var
Some checks failed
Build and Deploy UMBRA / build-and-deploy (push) Has been cancelled

The act_runner container couldn't find the Docker socket despite the
volume mount. Adding DOCKER_HOST=unix:///var/run/docker.sock explicitly
tells the runner where to find it.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Kyle 2026-03-18 04:31:42 +08:00
parent 55891eb7b5
commit 571268c9b4

View File

@ -70,6 +70,7 @@ services:
- act_runner_data:/data - act_runner_data:/data
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
environment: environment:
- DOCKER_HOST=unix:///var/run/docker.sock
- GITEA_INSTANCE_URL=https://git.sentinelforest.xyz - GITEA_INSTANCE_URL=https://git.sentinelforest.xyz
- GITEA_RUNNER_REGISTRATION_TOKEN=${GITEA_RUNNER_REGISTRATION_TOKEN} - GITEA_RUNNER_REGISTRATION_TOKEN=${GITEA_RUNNER_REGISTRATION_TOKEN}
- GITEA_RUNNER_NAME=umbra-runner - GITEA_RUNNER_NAME=umbra-runner