From d0aebb05688a2000ca21c39e3aa18d1863bbe49e Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Sun, 14 Jul 2024 01:34:17 -0400 Subject: [PATCH] Infini-DL360/forgejo: setup unpriviledged local runner --- hosts/Infini-DL360/forgejo.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/hosts/Infini-DL360/forgejo.nix b/hosts/Infini-DL360/forgejo.nix index 8c195be..a2bb110 100644 --- a/hosts/Infini-DL360/forgejo.nix +++ b/hosts/Infini-DL360/forgejo.nix @@ -80,9 +80,16 @@ in ]; }; local = { - enable = false; + enable = true; + name = "Local"; + url = "https://${domain}"; token = common.forgejo.actions.global_token; - labels = [ ]; + labels = [ + "docker:docker://gitea/runner-images:ubuntu-latest" + "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" + ]; }; };