CI: Add --no-cache in scripts/docker/arch.sh

This commit is contained in:
Michael Mayer 2021-12-13 00:23:24 +01:00
parent ec45ec479d
commit 29b4723d43

View file

@ -17,6 +17,7 @@ if [[ $1 ]] && [[ $2 ]] && [[ -z $3 ]]; then
docker buildx build \
--platform $2 \
--pull \
--no-cache \
--build-arg BUILD_TAG=$DOCKER_TAG \
--build-arg GOPROXY \
--build-arg GODEBUG \
@ -28,6 +29,7 @@ elif [[ $3 =~ $NUMERIC ]]; then
docker buildx build \
--platform $2 \
--pull \
--no-cache \
--build-arg BUILD_TAG=$3 \
--build-arg GOPROXY \
--build-arg GODEBUG \
@ -41,6 +43,7 @@ else
docker buildx build \
--platform $2 \
--pull \
--no-cache \
--build-arg BUILD_TAG=$DOCKER_TAG \
--build-arg GOPROXY \
--build-arg GODEBUG \