My goal is to cache my git repository on my agent instance to reuse between builds, rather than cloning from scratch each time. (This would save ~5 minutes each build for our repo; it’s pretty large.)
When I tried to bind-mount /drone/src, the build fails with “Error response from daemon: Duplicate mount point: /drone/src”. I know that Drone automatically mounts a volume there, but I was hoping that was overridable.
Any suggestions on how I can do this?