使用缓存
This commit is contained in:
parent
a3e2e3bfe3
commit
39c075ddbe
|
|
@ -50,7 +50,6 @@ cd "${PROJECT_ROOT}"
|
|||
echo ""
|
||||
echo "开始构建镜像..."
|
||||
docker buildx build \
|
||||
--no-cache \
|
||||
--platform ${PLATFORM} \
|
||||
-t ${FULL_IMAGE_NAME} \
|
||||
-f docker/wvp/${DOCKERFILE} \
|
||||
|
|
|
|||
|
|
@ -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
|
||||
Loading…
Reference in New Issue