mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-12-26 23:02:15 -05:00
fix: additional runner labels
This commit is contained in:
parent
c14cb08fbf
commit
b656cf0acc
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue