41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
# You don't have to copy this file to your instance,
|
|
# just run `forgejo-runner generate-config > config.yaml` to generate a config file.
|
|
log:
|
|
# The level of logging, can be trace, debug, info, warn, error, fatal
|
|
level: info
|
|
|
|
runner:
|
|
file: /var/lib/runner/.runner
|
|
capacity: 1
|
|
envs:
|
|
DOCKER_HOST: unix:///var/run/docker.sock
|
|
timeout: 3h
|
|
fetch_timeout: 5s
|
|
fetch_interval: 2s
|
|
labels:
|
|
- "docker:docker://registry.icb4dc0.de/infrastructure/act_runtime:24.04"
|
|
- "ubuntu-latest:docker://registry.icb4dc0.de/infrastructure/act_runtime:24.04"
|
|
- "ubuntu-22.04:docker://registry.icb4dc0.de/infrastructure/act_runtime:22.04"
|
|
- "ubuntu-latest-${arch}:docker://registry.icb4dc0.de/infrastructure/act_runtime:24.04"
|
|
- "ubuntu-22.04-${arch}:docker://registry.icb4dc0.de/infrastructure/act_runtime:22.04"
|
|
|
|
cache:
|
|
enabled: true
|
|
dir: ""
|
|
host: ""
|
|
port: 0
|
|
external_server: ""
|
|
|
|
container:
|
|
network: ""
|
|
enable_ipv6: false
|
|
privileged: false
|
|
options: "--volume=/run/user/1000/docker.sock:/var/run/docker.sock:ro"
|
|
workdir_parent:
|
|
valid_volumes:
|
|
- /run/user/1000/docker.sock
|
|
docker_host: "-"
|
|
force_pull: true
|
|
|
|
host:
|
|
workdir_parent:
|