Hello, I need to be able to fetch a private Go repo and would like to know if it is possible using a personal access token?
I've also seen the cookbook example https://docs.dagger.io/7442989/cookbook#access-private-git-repository which uses SSHAuthSocket but need an Access Token alternative.
In the Github action we currently use the following:
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/.
I've tried running this after setting the env var e.g. WithWorkdir("/src").WithExec([]string{"git", "config", "--global", "url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf", "https://github.com/"}) but it didn't work.