From 37ef3994ed6d082f1c46e480a7ff69cf24b1d4e6 Mon Sep 17 00:00:00 2001 From: agentbox Date: Thu, 5 Nov 2026 16:34:35 +0000 Subject: [PATCH] Use container workdir_parent for shared job workspace --- README.md | 4 +--- runner/config.yaml | 6 ++++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9bbabd5..bfc3d73 100644 --- a/README.md +++ b/README.md @@ -284,9 +284,7 @@ Runner config: ```yaml container: bind_workdir: true - -host: - workdir_parent: /workspace + workdir_parent: workspace ``` With this, the job workspace is under `/workspace/...` on the runner, the same diff --git a/runner/config.yaml b/runner/config.yaml index b1293f6..2fc0678 100644 --- a/runner/config.yaml +++ b/runner/config.yaml @@ -26,8 +26,10 @@ container: # Use a host path for the workspace instead of an anonymous Docker volume, # so Docker bind mounts from inside the job also resolve in dind. bind_workdir: true + # Parent path on the runner; it is the shared ci-workspace volume mounted at + # /workspace in both runner and dind. Leading '/' is added automatically. + workdir_parent: workspace force_pull: false host: - # Must be the same path mounted into dind as /workspace. - workdir_parent: /workspace + workdir_parent: