File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -224,11 +224,11 @@ if [ "${BUILD_TYPE}" == "production" ]; then
224
224
if [ " ${MULTI} " == " true" ]; then
225
225
DOCKER_BUILDKIT=1 docker buildx build --file Dockerfile --build-arg BASE_IMAGE=" ${BASE_IMAGE} " --build-arg USE_CUDA_VERSION=" ${CUDA_VERSION} " --build-arg PYTHON_VERSION=" ${PYTHON_VERSION} " \
226
226
--build-arg BUILD_NIGHTLY=" ${BUILD_NIGHTLY} " --build-arg BRANCH_NAME=" ${BRANCH_NAME} " --build-arg REPO_URL=" ${REPO_URL} " --build-arg BUILD_FROM_SRC=" ${BUILD_FROM_SRC} " \
227
- --build-arg LOCAL_CHANGES=" ${LOCAL_CHANGES} " -t " ${DOCKER_TAG} " --platform linux/amd64 --target production-image ../ --push
227
+ --build-arg LOCAL_CHANGES=" ${LOCAL_CHANGES} " -t " ${DOCKER_TAG} " --platform linux/amd64,linux/arm64 --target production-image ../ --push
228
228
else
229
229
DOCKER_BUILDKIT=1 docker buildx build --file Dockerfile --build-arg BASE_IMAGE=" ${BASE_IMAGE} " --build-arg USE_CUDA_VERSION=" ${CUDA_VERSION} " --build-arg PYTHON_VERSION=" ${PYTHON_VERSION} " \
230
230
--build-arg BUILD_NIGHTLY=" ${BUILD_NIGHTLY} " --build-arg BRANCH_NAME=" ${BRANCH_NAME} " --build-arg REPO_URL=" ${REPO_URL} " --build-arg BUILD_FROM_SRC=" ${BUILD_FROM_SRC} " \
231
- --build-arg LOCAL_CHANGES=" ${LOCAL_CHANGES} " -t " ${DOCKER_TAG} " --target production-image ../
231
+ --build-arg LOCAL_CHANGES=" ${LOCAL_CHANGES} " -t " ${DOCKER_TAG} " --target production-image ../ --load
232
232
fi
233
233
elif [ " ${BUILD_TYPE} " == " ci" ];
234
234
then
You can’t perform that action at this time.
0 commit comments