new config
Compose CI / lint-ci-scripts (push) Successful in 6s
Compose CI / compose-verify (push) Successful in 1m6s

This commit is contained in:
2026-09-18 15:14:01 +02:00
parent 626b573b5a
commit 53a84cd2f0
9 changed files with 1098 additions and 147 deletions
+10 -10
View File
@@ -5,13 +5,13 @@
log:
# The level of logging, can be trace, debug, info, warn, error, fatal
level: debug
level: info
runner:
# Where to store the registration result.
file: .runner
# Execute how many tasks concurrently at the same time.
capacity: 1
capacity: 2
# Extra environment variables to run jobs.
envs:
A_TEST_ENV_NAME_1: a_test_env_value_1
@@ -36,9 +36,9 @@ runner:
# If it's empty when registering, it will ask for inputting labels.
# If it's empty when execute `daemon`, will use labels in `.runner` file.
labels:
#- "ubuntu-latest:docker://gitea/runner-images:ubuntu-latest"
#- "ubuntu-22.04:docker://gitea/runner-images:ubuntu-22.04"
#- "ubuntu-20.04:docker://gitea/runner-images:ubuntu-20.04"
- "ubuntu-latest:docker://gitea/runner-images:ubuntu-latest"
- "ubuntu-22.04:docker://gitea/runner-images:ubuntu-22.04"
- "ubuntu-20.04:docker://gitea/runner-images:ubuntu-20.04"
#- "ubuntu-20.04:docker://gnu96/default-image:ubuntu-20-04-rc-01"
- "ubuntu-20.04:docker://registry.traefik.me/gitea/default-image:ubuntu-20.04"
@@ -47,14 +47,14 @@ cache:
enabled: true
# The directory to store the cache data.
# If it's empty, the cache data will be stored in $HOME/.cache/actcache.
dir: ""
dir: "/root/.cache/act"
# The host of the cache server.
# It's not for the address to listen, but the address to connect from job containers.
# So 0.0.0.0 is a bad choice, leave it empty to detect automatically.
host: ""
host: "10.0.x.x""
# The port of the cache server.
# 0 means to use a random available port.
port: 0
port: 38905
# The external cache server URL. Valid only when enable is true.
# If it's specified, act_runner will use this URL as the ACTIONS_CACHE_URL rather than start a server by itself.
# The URL should generally end with "/".
@@ -64,7 +64,7 @@ container:
# Specifies the network to which the container will connect.
# Could be host, bridge or the name of a custom network.
# If it's empty, act_runner will create a network automatically.
network: ""
network: "bridge"
# Whether to use privileged mode or not when launching task containers (privileged mode is required for Docker-in-Docker).
privileged: false
# And other options to be used when the container is started (eg, --add-host=my.gitea.url:host-gateway).
@@ -98,4 +98,4 @@ container:
host:
# The parent directory of a job's working directory.
# If it's empty, $HOME/.cache/act/ will be used.
workdir_parent:
workdir_parent: /data/actions