fix: mount docker socket at /run not /var/run (symlink issue)
Build and push runner images / build-runners (pull_request) Failing after 46s

/var/run is a symlink to /run in Alpine. Mounting emptyDir at /var/run
doesn't override the real /run directory, so dind's docker.sock at
/run/docker.sock was never visible to the runner container.

Fix: Mount the shared emptyDir at /run in both containers.
This commit is contained in:
2026-09-06 09:56:45 -07:00
parent ce154c55e6
commit ba0b3c2b64
@@ -71,7 +71,7 @@ spec:
- name: docker-certs
mountPath: /docker-certs
- name: docker-sock
mountPath: /var/run
mountPath: /run
- name: homelab-ca
mountPath: /etc/ssl/certs/homelab-ca.pem
subPath: ca.crt
@@ -92,7 +92,7 @@ spec:
- name: docker-certs
mountPath: /docker-certs
- name: docker-sock
mountPath: /var/run
mountPath: /run
- name: dind-storage
mountPath: /var/lib/docker
- name: homelab-ca