Skip to content

Commit

Permalink
Don't build docker alpine aarch64 for now and add alias tag for Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarlow83 committed Oct 10, 2023
1 parent ffd6a64 commit b7ce5b0
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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 .

0 comments on commit b7ce5b0

Please sign in to comment.