From b7ce5b0d7d65e1648a184435a6f2e99bea28ebeb Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Mon, 9 Oct 2023 17:36:08 -0700 Subject: [PATCH] Don't build docker alpine aarch64 for now and add alias tag for Ubuntu --- .github/workflows/build.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4f9fa8d8e..289d694da 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -320,14 +320,9 @@ jobs: --push \ --platform linux/arm64/v8,linux/amd64 \ --tag "${DOCKER_REPOSITORY}/${DOCKER_IMAGE_NAME}:${DOCKER_IMAGE_TAG}" \ + --tag "${DOCKER_REPOSITORY}/${DOCKER_IMAGE_NAME}-ubuntu:${DOCKER_IMAGE_TAG}" \ --file .docker/Dockerfile . - - name: Add Ubuntu alias - run: | - UBUNTU_ALIAS="${DOCKER_REPOSITORY}/${DOCKER_IMAGE_NAME}-ubuntu:${DOCKER_IMAGE_TAG}" - docker rename "${DOCKER_REPOSITORY}/${DOCKER_IMAGE_NAME}:${DOCKER_IMAGE_TAG}" "${UBUNTU_ALIAS}" - docker push "${UBUNTU_ALIAS}" - docker_alpine: name: Build Alpine-based Docker images needs: [wheel_sdist_linux, test_linux, test_macos, test_windows] @@ -371,6 +366,6 @@ jobs: run: | docker buildx build \ --push \ - --platform linux/arm64/v8,linux/amd64 \ + --platform linux/amd64 \ --tag "${DOCKER_REPOSITORY}/${DOCKER_IMAGE_NAME}:${DOCKER_IMAGE_TAG}" \ --file .docker/Dockerfile.alpine .