33 lines
844 B
YAML
33 lines
844 B
YAML
# act_runner 配置(可选参考部署)
|
||
# 工作流 runs-on: ubuntu-latest
|
||
|
||
log:
|
||
level: info
|
||
|
||
runner:
|
||
file: .runner
|
||
capacity: 2
|
||
timeout: 3h
|
||
insecure: false
|
||
fetch_timeout: 5s
|
||
fetch_interval: 2s
|
||
# 拉取 uses: actions/checkout@v4 等 GitHub Action 时的镜像(替换 https://github.com)
|
||
# 需 Gitea app.ini 中 [actions] DEFAULT_ACTIONS_URL = github
|
||
# 留空则直连 github.com;本模板 workflow 已使用 gitea.com 绝对 URL,可不配置
|
||
#
|
||
# github_mirror: ''
|
||
# github_mirror: 'https://gitea.com'
|
||
labels:
|
||
- "ubuntu-latest:docker://catthehacker/ubuntu:act-22.04"
|
||
- "ubuntu-22.04:docker://catthehacker/ubuntu:act-22.04"
|
||
|
||
cache:
|
||
enabled: false
|
||
|
||
container:
|
||
network: bridge
|
||
privileged: false
|
||
options: -v /var/run/docker.sock:/var/run/docker.sock
|
||
valid_volumes:
|
||
- /var/run/docker.sock
|