mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-12-25 22:32:12 -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"
|
||||
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() {
|
||||
|
|
Loading…
Reference in a new issue