ci: docker buildx disable cache
This commit is contained in:
parent
d5190bc62b
commit
f19a91d143
|
@ -94,7 +94,7 @@ pipeline {
|
|||
for library in "${libraries[@]}";
|
||||
do
|
||||
IMAGE_NAME=${library#*/}
|
||||
docker --config /home/metersphere/.docker buildx build --build-arg MS_VERSION=\${TAG_NAME:-\$BRANCH_NAME}-\${GIT_COMMIT:0:8} -t ${IMAGE_PREFIX}/${IMAGE_NAME}:\${TAG_NAME:-\$BRANCH_NAME} --platform linux/amd64,linux/arm64 ./$library --push
|
||||
docker --config /home/metersphere/.docker buildx build --no-cache --build-arg MS_VERSION=\${TAG_NAME:-\$BRANCH_NAME}-\${GIT_COMMIT:0:8} -t ${IMAGE_PREFIX}/${IMAGE_NAME}:\${TAG_NAME:-\$BRANCH_NAME} --platform linux/amd64,linux/arm64 ./$library --push
|
||||
done
|
||||
'''
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue