ci(builder/golang): 更新GOPROXY环境变量以支持直接访问

在Golang构建配置中,将GOPROXY环境变量从`https://goproxy.cn`更新为`https://goproxy.cn,direct`,以支持在代理不可用时直接访问原始资源,提高构建的可靠性。
This commit is contained in:
cnphpbb
2025-04-08 16:52:09 +08:00
parent 59ae6df2ba
commit 3db2118626

View File

@@ -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