CI: Replace goproxy.io with proxy.golang.org

This commit is contained in:
Michael Mayer 2021-12-12 20:34:57 +01:00
parent 2fdb672031
commit 1f4fa5b8ba
3 changed files with 3 additions and 3 deletions

View file

@ -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'..."

View file

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

View file

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