From 3d5c8bdbbdf463d498550cbfda6de2e1f35ba245 Mon Sep 17 00:00:00 2001 From: licsber Date: Mon, 11 Mar 2024 22:15:48 +0800 Subject: [PATCH] add go proxy. --- .github/workflows/self-win-openwrt-lede-x86.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/self-win-openwrt-lede-x86.yml b/.github/workflows/self-win-openwrt-lede-x86.yml index c41c48d..7b67c84 100644 --- a/.github/workflows/self-win-openwrt-lede-x86.yml +++ b/.github/workflows/self-win-openwrt-lede-x86.yml @@ -35,6 +35,7 @@ jobs: echo "image=$IMAGE" >> $GITHUB_OUTPUT $BUILD_DIR = Split-Path -Parent "${{ env.DOCKERFILE }}" + $env:GOPROXY = 'https://goproxy.io,direct' docker build -t "${IMAGE}:${TAG}" --file ${{ env.DOCKERFILE }} $BUILD_DIR - name: Push Image