mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-29 18:48:13 +08:00
ci: docker buildx disable cache
This commit is contained in:
parent
d5190bc62b
commit
f19a91d143
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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
Block a user