diff --git a/act-runner-config.yaml b/act-runner-config.yaml deleted file mode 100644 index 94aff0d..0000000 --- a/act-runner-config.yaml +++ /dev/null @@ -1,4 +0,0 @@ -# act_runner auto-detects that it has its own /var/run/docker.sock mounted (see -# docker-compose.yml) and passes it through to job containers itself — no explicit -# options needed here. This file is kept (even near-empty) so CONFIG_FILE has a -# stable target if runner-level settings are needed later. diff --git a/docker-compose.yml b/docker-compose.yml index 19c6e60..f54ead5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -73,11 +73,14 @@ services: # catthehacker/ubuntu:act-latest is the standard job-container image for # act/act_runner — includes git + docker CLI, which job steps need. GITEA_RUNNER_LABELS: docker:docker://catthehacker/ubuntu:act-latest - CONFIG_FILE: /etc/act_runner/config.yaml + # No custom config.yaml: act_runner already auto-detects its own bind-mounted + # docker.sock and passes it through to job containers with no extra config needed. + # (A relative-path bind-mounted config file here would also be unreliable under + # Portainer's git-stack deploy — its cloned checkout doesn't persist for the + # container's runtime, so the mount source can silently resolve to nothing.) volumes: - /var/run/docker.sock:/var/run/docker.sock - act_runner_data:/data - - ./act-runner-config.yaml:/etc/act_runner/config.yaml:ro networks: - web