PiR
Clone Git repo with submodules
I tried both. SSH first, I added a key in dokploy and in the repo and used the Dokploy UI to clone. For HTTPS however, I had to use the repo URL and manually put user:password like https://user:[email protected]/...
12 replies
Clone Git repo with submodules
Not quite @Siumauricio - the repo I clone also fails to pull up the submodules from the same Git provider with the same credentials over HTTPS.
The main repo is a monorepo which has two submodules. One submodule is a public Github repo, that one works, the second submodule is a private Git repo from the same source/provider as the main repo. Both submodules have been initialized and linked into the main repo with HTTPS URLs.
Both main and public submodule clone fine when using either HTTPS or SSH, and the private submodule always fails.
The workaround for now is to build Docker images in Azure, their build agents pull all repos just fine, and push the images to a registry which notifies Dokploy. But this is not what I think is the most slim and easy structure for deploying and running 60+ microservices.
12 replies