Update template/stacks/core/forgejo-runner/dind-docker.yaml

This commit is contained in:
richardrobertreitz 2025-04-11 14:12:29 +00:00
parent d6fa372e5f
commit 777d6afeb4

View file

@ -29,18 +29,17 @@ spec:
initContainers: initContainers:
- name: runner-register - name: runner-register
image: code.forgejo.org/forgejo/runner:6.3.1 image: code.forgejo.org/forgejo/runner:6.3.1
command: command:
- "forgejo-runner" - "sh"
- "register" - "-c"
- "--no-interactive" - |
- "--token" forgejo-runner \
- $(RUNNER_SECRET) register \
- "--name" --no-interactive \
- $(RUNNER_NAME) --token ${RUNNER_SECRET} \
- "--instance" --name ${RUNNER_NAME} \
- $(FORGEJO_INSTANCE_URL) --instance ${FORGEJO_INSTANCE_URL} \
- "--labels" --labels docker:docker://node:20-bookworm,ubuntu-22.04:docker://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/catthehackerubuntu:act-22.04,ubuntu-latest:docker://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/catthehackerubuntu:act-22.04
- "docker:docker://node:20-bookworm,ubuntu-22.04:docker://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/catthehackerubuntu:act-22.04,ubuntu-latest:docker://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/catthehackerubuntu:act-22.04"
env: env:
- name: RUNNER_NAME - name: RUNNER_NAME
valueFrom: valueFrom: