fix: add runner config to pass docker_host to job containers

This commit is contained in:
Ryan Moon
2026-04-02 19:04:15 -05:00
parent 48961e4af8
commit 9c209ee88b
2 changed files with 21 additions and 0 deletions

View File

@@ -37,6 +37,11 @@ spec:
value: tcp://localhost:2375
- name: DOCKER_TLS_VERIFY
value: "0"
- name: CONFIG_FILE
value: /etc/runner/config.yaml
volumeMounts:
- name: runner-config
mountPath: /etc/runner
- name: dind
image: docker:dind
@@ -53,3 +58,8 @@ spec:
- name: DOCKER_TLS_CERTDIR
value: ""
args: ["--host=tcp://0.0.0.0:2375"]
volumes:
- name: runner-config
configMap:
name: gitea-runner-config