fix: additional runner labels

This commit is contained in:
Michael Kriese 2024-12-06 18:05:18 +01:00
parent c14cb08fbf
commit b656cf0acc
No known key found for this signature in database
GPG key ID: F8D7748549A5986A

View file

@ -35,7 +35,8 @@ function register() {
$DIR/forgejocli actions generate-runner-token | tee $DIR/forgejo-runner-token $DIR/forgejocli actions generate-runner-token | tee $DIR/forgejo-runner-token
( (
cd $DIR 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
) )
} }