From 73dd2153fd3b492ef4271511b87c530d53dd7bb7 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Fri, 6 Dec 2024 18:05:18 +0100 Subject: [PATCH] feat: 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 35e3e1c..5662556 100755 --- a/forgejo-runner.sh +++ b/forgejo-runner.sh @@ -35,7 +35,8 @@ function register() { $DIR/forgejocli actions generate-runner-token | tee $DIR/forgejo-runner-token ( cd $DIR - timeout --signal=KILL 30 $DIR/forgejo-runner register --no-interactive --instance "$forgejo" --name runner --token $(cat $DIR/forgejo-runner-token) --labels docker:docker://code.forgejo.org/oci/node:20-bookworm,ubuntu-latest:docker://code.forgejo.org/oci/node:20-bookworm,self-hosted:lxc://debian:bookworm + timeout --signal=KILL 30 $DIR/forgejo-runner register --no-interactive --instance "$forgejo" --name runner --token $(cat $DIR/forgejo-runner-token) \ + --labels docker:docker://code.forgejo.org/oci/node:20-bookworm,docker-bookworm:docker://code.forgejo.org/oci/node:20-bookworm,lxc-bookworm:lxc://debian:bookworm,ubuntu-latest:docker://code.forgejo.org/oci/node:20-bookworm,self-hosted:lxc://debian:bookworm,lxc-bullseye:lxc://debian:bullseye ) }