# act_runner config. The `runner.labels` mapping says: when a workflow # requests `runs-on: self-hosted`, spawn the cargoxx-runner-job:latest # image (built from runner/flake.nix). Other labels can be added by # building additional images and listing them here. log: level: info runner: file: .runner capacity: 1 envs: {} labels: - "self-hosted:docker://cargoxx-runner-job:latest" cache: enabled: false container: network: bridge privileged: false # Bind the binary cache into every job container by referencing the # named volumes defined in compose.yml — those, in turn, are bound # to ./cache/{store,cache.sec} via `${PWD}` so the path is # deployment-relative, not absolute. options: "-v cargoxx-cache-store:/srv/cargoxx-cache/store -v cargoxx-cache-keys:/srv/cargoxx-cache/keys:ro" workdir_parent: /workspace # Whitelist regex of bind specs act_runner forwards to spawned job # containers. The regex matches the full `source:target[:opts]` # string, so a permissive prefix is enough. valid_volumes: - "cargoxx-cache-store" - "cargoxx-cache-keys" docker_host: "unix:///var/run/docker.sock" force_pull: false host: workdir_parent: ""