46 lines
1.3 KiB
YAML
46 lines
1.3 KiB
YAML
|
|
# runner.example.yaml — act_runner configuration template
|
||
|
|
# Copy to config/runner.yaml and adjust for your environment.
|
||
|
|
# This file is generated/modified by `act_runner register`. Fields below
|
||
|
|
# reflect commonly tuned settings; see act_runner docs for the full reference.
|
||
|
|
|
||
|
|
log:
|
||
|
|
# Log verbosity: trace, debug, info, warn, error, fatal
|
||
|
|
level: info
|
||
|
|
|
||
|
|
runner:
|
||
|
|
# How many jobs this runner can execute concurrently
|
||
|
|
capacity: 1
|
||
|
|
# Extra environment variables injected into every job
|
||
|
|
envs: {}
|
||
|
|
# Maximum runtime for a single job
|
||
|
|
timeout: 3h0m0s
|
||
|
|
# Allow insecure (non-TLS) connections to the Gitea instance
|
||
|
|
insecure: false
|
||
|
|
# Fetch interval for new jobs
|
||
|
|
fetch_timeout: 5s
|
||
|
|
fetch_interval: 2s
|
||
|
|
|
||
|
|
cache:
|
||
|
|
# Enable the built-in cache server (speeds up actions/cache steps)
|
||
|
|
enabled: true
|
||
|
|
dir: ""
|
||
|
|
host: ""
|
||
|
|
port: 0
|
||
|
|
external_server: ""
|
||
|
|
|
||
|
|
container:
|
||
|
|
# Docker network mode for job containers
|
||
|
|
network: bridge
|
||
|
|
# Run job containers with --privileged (avoid unless required)
|
||
|
|
privileged: false
|
||
|
|
# Additional docker run options (space-separated)
|
||
|
|
options: ""
|
||
|
|
# Override parent directory for job workspaces
|
||
|
|
workdir_parent: ""
|
||
|
|
# Uncomment to use a custom Docker daemon socket
|
||
|
|
# docker_host: unix:///var/run/docker.sock
|
||
|
|
|
||
|
|
host:
|
||
|
|
# Override parent directory for host-mode workspaces
|
||
|
|
workdir_parent: ""
|