Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use JFrog Artifactory to proxy GitHub as Go Repository?

Tags:

go

artifactory

I want to use Go Remote repository caching/proxying Github. I have created Go remote repo github proxying https://github.com/ (Credentials added as mentioned in https://www.jfrog.com/confluence/display/RTF/Go+Registry#GoRegistry-RemoteRepositories).

When I run go get artifactory log shows following error:

2019-05-29 16:01:29,586 [http-nio-8081-exec-252] [ERROR] (o.a.a.g.r.GoResource:88) - Unsupported go repository request for 'github'```
like image 391
Jainish Shah Avatar asked Dec 07 '25 09:12

Jainish Shah


1 Answers

In Artifactory Go repositories, you can't resolve from a remote repository directly, packages has to be resolved from a virtual repo. Just include it in any Go virtual repository and you should be good to go.

Also, why not use gocenter for Go packages? It's much more reliable IMO.

like image 74
DonMy Avatar answered Dec 11 '25 20:12

DonMy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!