feat: rename runners to contain name

This commit is contained in:
buffet 2024-05-07 21:35:04 +02:00
parent c5fac021e5
commit 023c87cb67

View file

@ -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"; name = "runner${builtins.toString n}";
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"];