From 3a985ab765d01139db2d40e6123c7ead00f93b97 Mon Sep 17 00:00:00 2001 From: Udai Jain Date: Sun, 15 Sep 2024 04:51:56 +0000 Subject: [PATCH] remove builder --- .github/workflows/docker-nightly-build.yml | 1 - docker/build_image.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/docker-nightly-build.yml b/.github/workflows/docker-nightly-build.yml index 3847c8e242..80f93f7662 100644 --- a/.github/workflows/docker-nightly-build.yml +++ b/.github/workflows/docker-nightly-build.yml @@ -36,7 +36,6 @@ jobs: run: | cd docker sudo apt-get update - docker buildx rm multibuilder docker buildx create --name multibuilder --use --driver docker-container --bootstrap python docker_nightly.py --cleanup # - name: Push KServe Docker Nightly diff --git a/docker/build_image.sh b/docker/build_image.sh index 1111f05816..e132480315 100755 --- a/docker/build_image.sh +++ b/docker/build_image.sh @@ -224,7 +224,7 @@ if [ "${BUILD_TYPE}" == "production" ]; then if [ "${MULTI}" == "true" ]; then 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}"\ --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}"\ - --build-arg LOCAL_CHANGES="${LOCAL_CHANGES}" -t "${DOCKER_TAG}" --platform linux/amd64,linux/arm64 --target production-image ../ --push + --build-arg LOCAL_CHANGES="${LOCAL_CHANGES}" -t "${DOCKER_TAG}" --platform linux/arm64 --target production-image ../ --push else 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}"\ --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}"\