#Cloning with submodules

1 messages · Page 1 of 1 (latest)

fair wasp
#

Hey, how can we use Dagger's git cloning with CLI's argument --recurse-submodules ?

wide verge
fair wasp
#

Hmm, maybe there was something wrong on our side then as it seemed it didn't do that.

#

We are actually still in older version of Dagger. Maybe update will do.

fair wasp
#

Ah, we are running to some Authentication issues when doing that.

wide verge
fair wasp
#

When we are cloning a repo (using git.Clone) and use a tokenized URL (https://git:<token>@...) we are getting authentication errors for the submodules. Not sure if this is more a feature of Git than a bug of Dagger?

wide verge
#

oh! I see now. I'm almost sure it's not a Dagger bug.

#

is there a way you can use the sshAuthSocket to authenticate and use the git@ URL to clone instead of the https one?