From a23b77d359e4ab53634b8acade6423469d688157 Mon Sep 17 00:00:00 2001 From: Udai Jain Date: Sun, 15 Sep 2024 06:15:09 +0000 Subject: [PATCH] building cache --- .github/workflows/docker-nightly-build.yml | 2 +- docker/build_image.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-nightly-build.yml b/.github/workflows/docker-nightly-build.yml index cec5fdf875..73ed1933eb 100644 --- a/.github/workflows/docker-nightly-build.yml +++ b/.github/workflows/docker-nightly-build.yml @@ -10,7 +10,7 @@ on: jobs: nightly: - runs-on: [self-hosted, multi-test] + runs-on: [self-hosted, ci-gpu] steps: - name: Clean up previous run run: | diff --git a/docker/build_image.sh b/docker/build_image.sh index 1111f05816..b80068bca4 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 "${ARCH}" --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}"\