Add DOCKER_HOST env var to workflow for k8s DinD support
All checks were successful
Build Container / build (push) Successful in 1m8s

The k8s runner uses a DinD sidecar accessible via TCP on port 2375.
While the runner daemon config has docker_host set, job containers
don't inherit this - they need the DOCKER_HOST env var set explicitly.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Erich Blume 2026-01-25 19:22:37 -08:00
commit c7a58b8fdb

View file

@ -16,6 +16,9 @@ on:
jobs:
build:
runs-on: k8s
env:
# For k8s runner with DinD sidecar, Docker is available via TCP
DOCKER_HOST: tcp://127.0.0.1:2375
steps:
- name: Parse tag
id: parse