From 1f4fa5b8ba350d76f821a0747bfa4b1c86350f20 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Sun, 12 Dec 2021 20:34:57 +0100 Subject: [PATCH] CI: Replace goproxy.io with proxy.golang.org --- scripts/docker/arch.sh | 2 +- scripts/docker/build.sh | 2 +- scripts/docker/multiarch.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/docker/arch.sh b/scripts/docker/arch.sh index 94d0acd4b..33ab66027 100755 --- a/scripts/docker/arch.sh +++ b/scripts/docker/arch.sh @@ -9,7 +9,7 @@ if [[ -z $1 ]] || [[ -z $2 ]]; then fi NUMERIC='^[0-9]+$' -GOPROXY=${GOPROXY:-'https://goproxy.io,direct'} +GOPROXY=${GOPROXY:-'https://proxy.golang.org,direct'} if [[ $1 ]] && [[ $2 ]] && [[ -z $3 ]]; then echo "Building 'photoprism/$1:preview'..." diff --git a/scripts/docker/build.sh b/scripts/docker/build.sh index 762e4fba7..5cadc36e9 100755 --- a/scripts/docker/build.sh +++ b/scripts/docker/build.sh @@ -6,7 +6,7 @@ set -e export DOCKER_BUILDKIT=1 NUMERIC='^[0-9]+$' -GOPROXY=${GOPROXY:-'https://goproxy.io,direct'} +GOPROXY=${GOPROXY:-'https://proxy.golang.org,direct'} if [[ -z $1 ]] && [[ -z $2 ]]; then echo "Please provide a container image name and version" 1>&2 diff --git a/scripts/docker/multiarch.sh b/scripts/docker/multiarch.sh index f992aac66..89fdc614d 100755 --- a/scripts/docker/multiarch.sh +++ b/scripts/docker/multiarch.sh @@ -9,7 +9,7 @@ if [[ -z $1 ]] || [[ -z $2 ]]; then fi NUMERIC='^[0-9]+$' -GOPROXY=${GOPROXY:-'https://goproxy.io,direct'} +GOPROXY=${GOPROXY:-'https://proxy.golang.org,direct'} # Kill old multibuilder if still alive. echo "Removing existing multibuilder..."