# Gitea Runner 配置(服务端 /opt/act_runner/config.yaml) # # 宿主模式(host):任务直接在本机执行,不额外起容器。 # 本机已装 Node 22,所以 ubuntu-latest 标签映射到 host 而不是 docker 镜像。 # action 源通过 systemd 的 DEFAULT_ACTIONS_URL 指向 gitea.com(本机访问 github.com 不通)。 log: level: info runner: file: .runner capacity: 1 timeout: 3h labels: - 'ubuntu-latest:host' fetch_timeout: 5s fetch_interval: 2s # 单机部署不需要 runner 自带缓存服务,关掉避免额外端口 cache: enabled: false