1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-01 17:38:36 +00:00

fix: example uses code.forgejo.org/oci

Otherwise it may get rate limited in the CI verifying it works
This commit is contained in:
Earl Warren 2025-01-15 11:41:24 +01:00
parent 48e0db5ddb
commit 564134560b
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
5 changed files with 14 additions and 13 deletions

View file

@ -38,7 +38,7 @@ spec:
# https://forgejo.org/docs/v1.21/admin/actions/#offline-registration
initContainers:
- name: runner-register
image: code.forgejo.org/forgejo/runner:5.0.4
image: code.forgejo.org/forgejo/runner:6.0.1
command: ["forgejo-runner", "register", "--no-interactive", "--token", $(RUNNER_SECRET), "--name", $(RUNNER_NAME), "--instance", $(FORGEJO_INSTANCE_URL)]
env:
- name: RUNNER_NAME
@ -61,7 +61,7 @@ spec:
mountPath: /data
containers:
- name: runner
image: code.forgejo.org/forgejo/runner:5.0.4
image: code.forgejo.org/forgejo/runner:6.0.1
command: ["sh", "-c", "while ! nc -z localhost 2376 </dev/null; do echo 'waiting for docker daemon...'; sleep 5; done; forgejo-runner daemon"]
env:
- name: DOCKER_HOST