CI: Add --no-cache in scripts/docker/arch.sh
This commit is contained in:
parent
ec45ec479d
commit
29b4723d43
1 changed files with 3 additions and 0 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue