Add DOCKER_HOST env var to workflow for k8s DinD support
All checks were successful
Build Container / build (push) Successful in 1m8s
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:
parent
1f595b6041
commit
c7a58b8fdb
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue