Share workspace path between runner and dind for job bind mounts
This commit is contained in:
1 parent
239a3b2057
commit
e769c3df3a
3 files changed
+56
-1
No files matched your search
+5
-1
@@ -23,7 +23,11 @@ container:
|
||||
# Jobs share dind's sandbox network namespace.
|
||||
network: host
|
||||
privileged: false
|
||||
# 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
|
||||
force_pull: false
|
||||
|
||||
host:
|
||||
workdir_parent:
|
||||
# Must be the same path mounted into dind as /workspace.
|
||||
workdir_parent: /workspace
|
||||
Reference in new issue
Block a user