mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
CI: Replace goproxy.io with proxy.golang.org
This commit is contained in:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user