ci: docker build disable cache
This commit is contained in:
parent
0cc274c2b8
commit
dd4c4d1fd2
|
@ -81,7 +81,7 @@ pipeline {
|
||||||
when { environment name: 'BUILD_SDK', value: 'false' }
|
when { environment name: 'BUILD_SDK', value: 'false' }
|
||||||
steps {
|
steps {
|
||||||
sh '''#!/bin/bash -xe
|
sh '''#!/bin/bash -xe
|
||||||
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 . --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 . --push
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue