CI: Add "--build-arg GODEBUG" to build scripts
This commit is contained in:
parent
e2e5fd11d4
commit
f8dfedb1bf
|
@ -7,6 +7,8 @@ scripts/test.sh
|
|||
|
||||
# Build images
|
||||
make docker-preview
|
||||
|
||||
sleep 2
|
||||
docker pull photoprism/photoprism:preview
|
||||
|
||||
make docker-demo
|
||||
|
|
|
@ -17,6 +17,7 @@ elif [[ $1 ]] && [[ -z $2 ]]; then
|
|||
--no-cache \
|
||||
--build-arg BUILD_TAG="${DOCKER_TAG}" \
|
||||
--build-arg GOPROXY \
|
||||
--build-arg GODEBUG \
|
||||
-t photoprism/$1:preview \
|
||||
-f docker/${1/-//}/Dockerfile .
|
||||
echo "Done"
|
||||
|
@ -26,6 +27,7 @@ else
|
|||
--no-cache \
|
||||
--build-arg BUILD_TAG=$2 \
|
||||
--build-arg GOPROXY \
|
||||
--build-arg GODEBUG \
|
||||
-t photoprism/$1:latest \
|
||||
-t photoprism/$1:$2 \
|
||||
-f docker/${1/-//}/Dockerfile .
|
||||
|
|
|
@ -26,6 +26,7 @@ if [[ $1 ]] && [[ $2 ]] && [[ -z $3 ]]; then
|
|||
--no-cache \
|
||||
--build-arg BUILD_TAG=$DOCKER_TAG \
|
||||
--build-arg GOPROXY \
|
||||
--build-arg GODEBUG \
|
||||
-f docker/$1/Dockerfile \
|
||||
-t photoprism/$1:preview \
|
||||
--push .
|
||||
|
@ -37,6 +38,7 @@ else
|
|||
--no-cache \
|
||||
--build-arg BUILD_TAG=$3 \
|
||||
--build-arg GOPROXY \
|
||||
--build-arg GODEBUG \
|
||||
-f docker/$1/Dockerfile \
|
||||
-t photoprism/$1:latest \
|
||||
-t photoprism/$1:$3 \
|
||||
|
|
Loading…
Reference in New Issue
Block a user