使用缓存

This commit is contained in:
孙小云 2025-12-06 22:10:31 +08:00
parent a3e2e3bfe3
commit 39c075ddbe
2 changed files with 1 additions and 2 deletions

View File

@ -50,7 +50,6 @@ cd "${PROJECT_ROOT}"
echo ""
echo "开始构建镜像..."
docker buildx build \
--no-cache \
--platform ${PLATFORM} \
-t ${FULL_IMAGE_NAME} \
-f docker/wvp/${DOCKERFILE} \

View File

@ -5,6 +5,6 @@ set -e
version=2.7.7
# Use current directory as build context to access both wvpcode and wvp folders
docker build --no-cache -f ./Dockerfile -t polaris-wvp:${version} .
docker build -f ./Dockerfile -t polaris-wvp:${version} .
docker tag polaris-wvp:${version} polaris-tian-docker.pkg.coding.net/qt/polaris/polaris-wvp:${version}
docker tag polaris-wvp:${version} polaris-tian-docker.pkg.coding.net/qt/polaris/polaris-wvp:latest