forked from DevOps/deploy.stack
ci(builder/golang): 更新GOPROXY环境变量以支持直接访问
在Golang构建配置中,将GOPROXY环境变量从`https://goproxy.cn`更新为`https://goproxy.cn,direct`,以支持在代理不可用时直接访问原始资源,提高构建的可靠性。
This commit is contained in:
@@ -13,5 +13,5 @@ services:
|
|||||||
- ${Volumes_Path}/mygits:/app
|
- ${Volumes_Path}/mygits:/app
|
||||||
working_dir: /app
|
working_dir: /app
|
||||||
environment:
|
environment:
|
||||||
- GOPROXY=https://goproxy.cn
|
- GOPROXY=https://goproxy.cn,direct
|
||||||
- GO111MODULE=on
|
- GO111MODULE=on
|
||||||
Reference in New Issue
Block a user