@@ -120,7 +120,7 @@ jobs:
120120 run : |
121121 if [[ "${{ secrets.ARTIFACTORY_USER }}" == "" ]]; then
122122 echo "No Artifactory secrets available - using direct GOPROXY"
123- GOPROXY_VALUE="direct"
123+ GOPROXY_VALUE="proxy.golang.org, direct"
124124 elif [[ "${{ inputs.is_production_release }}" == "true" ]] || [[ ("${{ github.event_name }}" == "push" || "${{ github.event_name }}" == "schedule") && ("${{ github.ref }}" == "refs/heads/main" || "${{ github.ref }}" =~ ^refs/heads/release-) ]]; then
125125 echo "Production mode - using production Artifactory"
126126 GOPROXY_VALUE="https://${{ secrets.ARTIFACTORY_USER }}:${{ secrets.ARTIFACTORY_TOKEN }}@${{ secrets.ARTIFACTORY_ENDPOINT }}"
@@ -176,7 +176,7 @@ jobs:
176176 id : goproxy
177177 run : |
178178 if [[ "${{ secrets.ARTIFACTORY_USER }}" == "" ]]; then
179- GOPROXY_VALUE="direct"
179+ GOPROXY_VALUE="proxy.golang.org, direct"
180180 else
181181 GOPROXY_VALUE="https://${{ secrets.ARTIFACTORY_USER }}:${{ secrets.ARTIFACTORY_TOKEN }}@${{ secrets.ARTIFACTORY_DEV_ENDPOINT }}"
182182 fi
@@ -247,7 +247,7 @@ jobs:
247247 run : |
248248 if [[ "${{ secrets.ARTIFACTORY_USER }}" == "" ]]; then
249249 echo "No Artifactory secrets available - using direct GOPROXY"
250- GOPROXY_VALUE="direct"
250+ GOPROXY_VALUE="proxy.golang.org, direct"
251251 elif [[ "${{ inputs.is_production_release }}" == "true" ]] || [[ ("${{ github.event_name }}" == "push" || "${{ github.event_name }}" == "schedule") && ("${{ github.ref }}" == "refs/heads/main" || "${{ github.ref }}" =~ ^refs/heads/release-) ]]; then
252252 echo "Production mode - using production Artifactory"
253253 GOPROXY_VALUE="https://${{ secrets.ARTIFACTORY_USER }}:${{ secrets.ARTIFACTORY_TOKEN }}@${{ secrets.ARTIFACTORY_ENDPOINT }}"
@@ -574,7 +574,7 @@ jobs:
574574 id : goproxy
575575 run : |
576576 if [[ "${{ secrets.ARTIFACTORY_USER }}" == "" ]]; then
577- GOPROXY_VALUE="direct"
577+ GOPROXY_VALUE="proxy.golang.org, direct"
578578 else
579579 GOPROXY_VALUE="https://${{ secrets.ARTIFACTORY_USER }}:${{ secrets.ARTIFACTORY_TOKEN }}@${{ secrets.ARTIFACTORY_DEV_ENDPOINT }}"
580580 fi
0 commit comments