I’m trying to clone additional repos that my project depends on. I noticed that this example was given here in Evaluating Drone vs. others
pipeline: setup: image: docker:git commands: - git clone https://github.com/foo/bar.git - git clone https://github.com/foo/baz.git - git clone https://github.com/foo/qux.git
and this works, but doesn’t allow me to take advantage of netrc credentials, etc. I was wondering if using
plugins/git might instead be used for this. Something like:
pipeline: foo: image: plugins/git remote: https://github.com/foo/bar.git path: /work/bar
However, it seems that passing
path to the
plugins/git image doesn’t override the variables that drone sets during its implicit clone step. Any suggestions for this use case? Thanks!