CI: Replace goproxy.io with proxy.golang.org
This commit is contained in:
parent
2fdb672031
commit
1f4fa5b8ba
3 changed files with 3 additions and 3 deletions
|
@ -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'..."
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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..."
|
||||
|
|
Loading…
Reference in a new issue