This commit is contained in:
Piotr Palka 2026-04-07 14:39:46 +02:00 committed by GitHub
commit 64a1bfc112
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 2 deletions

View File

@ -110,11 +110,12 @@ volumeMounts:
{{- end }}
{{- define "gha-runner-scale-set.dind-container" -}}
image: docker:dind
image: {{ .Values.template.spec.dind.image }}
args:
- dockerd
- --host=unix:///var/run/docker.sock
- --group=$(DOCKER_GROUP_GID)
- --log-level={{ .Values.template.spec.dind.logLevel }}
env:
- name: DOCKER_GROUP_GID
value: "123"

View File

@ -317,11 +317,12 @@ template:
## - name: dind-externals
## mountPath: /home/runner/tmpDir
## - name: dind
## image: docker:dind
## image: {{ .Values.template.spec.dind.image }}
## args:
## - dockerd
## - --host=unix:///var/run/docker.sock
## - --group=$(DOCKER_GROUP_GID)
## - --log-level={{ .Values.template.spec.dind.logLevel }}
## env:
## - name: DOCKER_GROUP_GID
## value: "123"
@ -414,6 +415,14 @@ template:
## - name: ACTIONS_RUNNER_REQUIRE_JOB_CONTAINER
## value: "true"
spec:
dind:
## Log level of the Docker daemon. Use one of the following values: "debug", "info", "warn", "error", "fatal".
## Defaults to "info".
logLevel: info
## Set a dind image for sidecar container. Eg: use a specific registry in cloud environment to speed up the image pulling process and cut down external network traffic cost.
## For AWS based deployments 'public.ecr.aws/docker/library/docker:dind' may be a good choice.
## Defaults to "docker:dind".
image: docker:dind
containers:
- name: runner
image: ghcr.io/actions/actions-runner:latest