mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-30 10:11:03 -05:00
as of runner 3.1.0 self-hosted is no longer implicitly lxc
This commit is contained in:
parent
4e7e5d2dd5
commit
13e4980952
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ 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
|
||||
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
|
||||
}
|
||||
|
||||
function run() {
|
||||
|
|
Loading…
Reference in a new issue