mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-12-26 06:42:17 -05:00
fix: additional runner labels
This commit is contained in:
parent
25cee0693a
commit
17a64d3843
1 changed files with 2 additions and 1 deletions
|
@ -32,7 +32,8 @@ function register() {
|
||||||
local forgejo="$1"
|
local forgejo="$1"
|
||||||
mktemp -d > forgejo-runner-home
|
mktemp -d > forgejo-runner-home
|
||||||
docker exec --user 1000 forgejo forgejo actions generate-runner-token > forgejo-runner-token
|
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() {
|
function run() {
|
||||||
|
|
Loading…
Reference in a new issue