File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ 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/arm64 --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} " \
Original file line number Diff line number Diff line change 78
78
# )
79
79
80
80
# Push images with latest tag
81
- try_and_handle (f"docker push { organization } /{ project } :latest-gpu" , dry_run )
81
+ # try_and_handle(f"docker push {organization}/{project}:latest-gpu", dry_run)
82
82
83
83
# try_and_handle(
84
84
# f"docker push {organization}/{project}:latest-cpp-dev-cpu", dry_run
You can’t perform that action at this time.
0 commit comments