Add git authentication to support the private repo case#41
Add git authentication to support the private repo case#41Mazgis47 wants to merge 3 commits intodocker-library:masterfrom
Conversation
|
Thanks for the contribution! I think rather than adding explicit (manual) support for HTTP authentication to all our Git calls, I'd rather find out / figure out whether |
If I correctly understand they have an open issue on that src-d/go-git#1101 so it is a blocker/dependency to use go-git. There is an example provided but that is not a part of the go-git. |
|
It looks like someone is currently working on adding git credentials support: go-git/go-git#490. So, we should wait until that is available. (also, we shouldn't be pulling in any dependencies from |
Example usage:
bashbrew --library mylibrary --git-username MyGithubUser --git-password ghp_123456789 --debug --cache /tmp/bashbrew_cache --namespace docker-images.mycompany.com/myalpine build --all --pull always