Files
FabledScribe/infra/act-runner-config.yml
T
Bryan Van Deusen eb7d00e114 CI: set runner label-to-image mapping in config.yml
Move ubuntu-latest → runner-base:py3.12-node22 mapping into
act-runner-config.yml so it is respected at runtime. The
GITEA_RUNNER_LABELS env var is only honoured on first registration
and was being ignored after the runner's .runner file was created.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-10 11:02:20 -04:00

30 lines
910 B
YAML

# act_runner configuration.
# Place this file at: /nfs/data/fabledsword/act_runner/config.yml
# It is bind-mounted read-only into the runner container.
log:
level: info
runner:
capacity: 2 # max concurrent jobs
timeout: 30m
# Maps runs-on labels to Docker images for job containers.
# Change this (and delete /data/.runner) to switch the base image.
labels:
- "ubuntu-latest:docker://git.fabledsword.com/bvandeusen/runner-base:py3.12-node22"
cache:
enabled: true
dir: /data/.cache
container:
# Job containers use bridge networking — they get outbound internet access
# (needed to pull npm/pip packages and push to the registry) but are isolated
# from each other and the host.
network: bridge
# Paths the runner is allowed to bind-mount into job containers.
# The Docker socket is required for the build job (docker buildx).
valid_volumes:
- /var/run/docker.sock