From 13e4980952f55488472e8a94dd500f434e7c7c4b Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Thu, 9 Nov 2023 16:03:53 +0100 Subject: [PATCH] as of runner 3.1.0 self-hosted is no longer implicitly lxc --- forgejo-runner.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forgejo-runner.sh b/forgejo-runner.sh index 3731042..ade2d1f 100755 --- a/forgejo-runner.sh +++ b/forgejo-runner.sh @@ -32,7 +32,7 @@ function register() { local forgejo="$1" mktemp -d > forgejo-runner-home docker exec --user 1000 forgejo forgejo actions generate-runner-token > forgejo-runner-token - timeout --signal=KILL 30 forgejo-runner register --no-interactive --instance "$forgejo" --name runner --token $(cat forgejo-runner-token) --labels docker:docker://code.forgejo.org/oci/node:16-bullseye,ubuntu-latest:docker://code.forgejo.org/oci/node:16-buster,self-hosted + timeout --signal=KILL 30 forgejo-runner register --no-interactive --instance "$forgejo" --name runner --token $(cat forgejo-runner-token) --labels docker:docker://code.forgejo.org/oci/node:16-bullseye,ubuntu-latest:docker://code.forgejo.org/oci/node:16-buster,self-hosted:lxc://debian:bullseye } function run() {