From 3db21186263742abace8213d40e64400dc923841 Mon Sep 17 00:00:00 2001 From: cnphpbb Date: Tue, 8 Apr 2025 16:52:09 +0800 Subject: [PATCH] =?UTF-8?q?ci(builder/golang):=20=E6=9B=B4=E6=96=B0GOPROXY?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E5=8F=98=E9=87=8F=E4=BB=A5=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E8=AE=BF=E9=97=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在Golang构建配置中,将GOPROXY环境变量从`https://goproxy.cn`更新为`https://goproxy.cn,direct`,以支持在代理不可用时直接访问原始资源,提高构建的可靠性。 --- builder/golang/compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/golang/compose.yml b/builder/golang/compose.yml index e3c5704..7bfd932 100644 --- a/builder/golang/compose.yml +++ b/builder/golang/compose.yml @@ -13,5 +13,5 @@ services: - ${Volumes_Path}/mygits:/app working_dir: /app environment: - - GOPROXY=https://goproxy.cn + - GOPROXY=https://goproxy.cn,direct - GO111MODULE=on \ No newline at end of file