# 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:
    - "py3.12-node22: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
