fix(runner): switch GITEA_RUNNER_LABELS to host mode to fix Docker not found in CI
This commit is contained in:
parent
23f197aeb1
commit
e9367b535d
1 changed files with 1 additions and 1 deletions
|
|
@ -812,7 +812,7 @@ do_forgejo_runner_install() {
|
|||
-e GITEA_INSTANCE_URL="${forgejo_url}" \
|
||||
-e GITEA_RUNNER_REGISTRATION_TOKEN="${runner_token}" \
|
||||
-e GITEA_RUNNER_NAME="$(hostname)-runner" \
|
||||
-e GITEA_RUNNER_LABELS="ubuntu-latest:docker://node:20-bullseye,ubuntu-22.04:docker://node:20-bullseye" \
|
||||
-e GITEA_RUNNER_LABELS="ubuntu-latest:host,ubuntu-22.04:host" \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
-v "${FORGEJO_RUNNER_DIR}:/data" \
|
||||
"${FORGEJO_RUNNER_IMAGE}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue