From 17a64d3843c823dd93d59999d01e84663bbdb390 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Fri, 6 Dec 2024 18:05:18 +0100 Subject: [PATCH] fix: additional runner labels --- forgejo-runner.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/forgejo-runner.sh b/forgejo-runner.sh index ade2d1f..e68a820 100755 --- a/forgejo-runner.sh +++ b/forgejo-runner.sh @@ -32,7 +32,8 @@ 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:lxc://debian:bullseye + 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,lxc-bullseye:lxc://debian:bullseye,lxc-bookworm:lxc://debian:bookworm } function run() {