Skip to content

Commit 40dd808

Browse files
committed
Share job workspace with dind for docker compose bind-mounts
docker compose bind-mounts use absolute paths that must be resolvable by the dind daemon. Mount the job workspace into the dind service so it can see the checked-out source tree.
1 parent 0363710 commit 40dd808

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/ci-multi-server-tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,13 @@ jobs:
2626
NO_PROXY: "*.networkradius.com,127.0.0.1"
2727
# Mount the host's internal CA so dind trusts
2828
# docker.internal.networkradius.com for image pulls.
29+
#
30+
# Share the job workspace with dind so that docker compose
31+
# bind-mounts (radiusd.conf, env-setup.sh, listener dirs,
32+
# etc.) resolve to real files inside the dind daemon.
2933
volumes:
3034
- /usr/local/share/ca-certificates/networkradius.com.crt:/etc/docker/certs.d/docker.internal.networkradius.com/ca.crt:ro
35+
- ${{ github.workspace }}:${{ github.workspace }}
3136

3237
env:
3338
MULTI_SERVER_TEST_LOG: build/tests/multi-server/freeradius-multi-server/multi_server_test.log

0 commit comments

Comments
 (0)