-
Hi, i recently used Athens to proxy Go dependencies in my CI & CD pipelines, and i met a problem that Athens can not proxy a detached commit version in a Github public repo. After a lot of searching and reading the document, I think i need to ask for help here. The goal i use AthensI have a lot of pipeline to run , and i want to speed up the build, so i want Athens to proxy all of my go dependencies, both public and private repo. The error log while execute go build
My Athens config and go command i executeAthens config
Go command i execte
What i have tried to solve thisConfirm if version
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The simple answer here is that Athens does whatever |
Beta Was this translation helpful? Give feedback.
I read the
config.dev.toml
again, and i found the environmentGoBinaryEnvVars
and i know why.I should override the default valueGoBinaryEnvVars = ["GOPROXY=direct"]
withATHENS_GO_BINARY_ENV_VARS='GOPROXY=proxy.golang.org,direct;
Thanks a lot for your help !