#Installing modules hosted in private Git repositories
1 messages ยท Page 1 of 1 (latest)
I am about to create an Issue for this, but I want to confirm that pulling modules today that are behind auth in private or enterprise github repositories is not possible today and I am not missing something simple ๐
Was a ticket raised for this at all? We're using github - but only private repos. For my usage, I probably just need to somehow pass over something similar to I do with:
sshAgentPath := os.Getenv("SSH_AUTH_SOCK")
src := repo.Branch(repoBranch).Tree(
dagger.GitRefTreeOpts{
SSHAuthSocket: client.Host().UnixSocket(sshAgentPath),
},
)
Tho I guess I may need to use a GH PAT like @serene sentinel
I did not open an issue yet. I was waiting for a response from @dark quail whether they already have something open. It doesn't look like it so I will open an issue today and link here ๐
Installing modules hosted in private Git repositories
I created an issue for this - https://github.com/dagger/dagger/issues/6113
What are you trying to do? Currently you can only dagger mod install modules hosted in public Git repositories. While this is great for OSS, it's not ideal for Enterprises that use private Git ...
wouldn't it seem odd that a PAT would be needed when dagger can be taught to forward ssh agent socket just fine for cloning private repositories in non-module code?