fix: use proper name instead of out-of-scope n for runner names
This commit is contained in:
parent
22d4240e80
commit
3e09f9cb19
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ in {
|
||||||
|
|
||||||
instances = lib.genAttrs (builtins.genList (n: "runner${builtins.toString n}") numRunners) (name: {
|
instances = lib.genAttrs (builtins.genList (n: "runner${builtins.toString n}") numRunners) (name: {
|
||||||
enable = true;
|
enable = true;
|
||||||
name = "runner${builtins.toString n}";
|
inherit name;
|
||||||
url = config.services.forgejo.settings.server.ROOT_URL;
|
url = config.services.forgejo.settings.server.ROOT_URL;
|
||||||
tokenFile = config.age.secrets.kitchen-runner-token.path;
|
tokenFile = config.age.secrets.kitchen-runner-token.path;
|
||||||
labels = ["docker" "ubuntu-latest:docker://ghcr.io/catthehacker/ubuntu:act-latest"];
|
labels = ["docker" "ubuntu-latest:docker://ghcr.io/catthehacker/ubuntu:act-latest"];
|
||||||
|
|
Loading…
Reference in a new issue