使用缓存
This commit is contained in:
parent
a3e2e3bfe3
commit
39c075ddbe
|
|
@ -50,7 +50,6 @@ cd "${PROJECT_ROOT}"
|
||||||
echo ""
|
echo ""
|
||||||
echo "开始构建镜像..."
|
echo "开始构建镜像..."
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--no-cache \
|
|
||||||
--platform ${PLATFORM} \
|
--platform ${PLATFORM} \
|
||||||
-t ${FULL_IMAGE_NAME} \
|
-t ${FULL_IMAGE_NAME} \
|
||||||
-f docker/wvp/${DOCKERFILE} \
|
-f docker/wvp/${DOCKERFILE} \
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,6 @@ set -e
|
||||||
version=2.7.7
|
version=2.7.7
|
||||||
|
|
||||||
# Use current directory as build context to access both wvpcode and wvp folders
|
# 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:${version}
|
||||||
docker tag polaris-wvp:${version} polaris-tian-docker.pkg.coding.net/qt/polaris/polaris-wvp:latest
|
docker tag polaris-wvp:${version} polaris-tian-docker.pkg.coding.net/qt/polaris/polaris-wvp:latest
|
||||||
Loading…
Reference in New Issue