runner: reproducible nix-built job image + compose-based act_runner

This commit is contained in:
2026-05-18 10:13:17 +00:00
parent f8a041f5b7
commit 623fe57683
7 changed files with 226 additions and 42 deletions

28
runner/config.yaml Normal file
View File

@@ -0,0 +1,28 @@
# 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
options: ""
workdir_parent: /workspace
valid_volumes: []
docker_host: "unix:///var/run/docker.sock"
force_pull: false
host:
workdir_parent: ""