docs: update example config

This commit is contained in:
Jason Song 2024-04-02 15:17:30 +08:00
parent 4c26747558
commit abac3ee167
No known key found for this signature in database
GPG key ID: 8402EEEE4511A8B5
2 changed files with 3 additions and 0 deletions
README.md
internal/pkg/config

View file

@ -101,6 +101,8 @@ You can specify the configuration file path with `-c`/`--config` argument.
./act_runner -c config.yaml daemon # run with config file
```
You can read the latest version of the configuration file online at [config.example.yaml](internal/pkg/config/config.example.yaml).
### Example Deployments
Check out the [examples](examples) directory for sample deployment types.

View file

@ -31,6 +31,7 @@ runner:
fetch_interval: 2s
# The labels of a runner are used to determine which jobs the runner can run, and how to run them.
# Like: "macos-arm64:host" or "ubuntu-latest:docker://gitea/runner-images:ubuntu-latest"
# Find more images provided by Gitea at https://gitea.com/gitea/runner-images .
# 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: