Skip to content

Commit e1907ea

Browse files
cmyuiclaude
andcommitted
Mount Docker socket in GitHub runner for container builds
Enables docker/docker-buildx builds by mounting the host's Docker socket. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent e8fcd38 commit e1907ea

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

k8s/github-runner/templates/deployment.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,12 @@ spec:
3535
key: token
3636
resources:
3737
{{- toYaml .Values.resources | nindent 12 }}
38+
volumeMounts:
39+
- name: docker-sock
40+
mountPath: /var/run/docker.sock
41+
volumes:
42+
- name: docker-sock
43+
hostPath:
44+
path: /var/run/docker.sock
45+
type: Socket
3846
terminationGracePeriodSeconds: 60

0 commit comments

Comments
 (0)