Skip to content

Commit

Permalink
Merge pull request #6 from withlogicco/feature/arm-support
Browse files Browse the repository at this point in the history
Build arm64 version of the image
  • Loading branch information
akalipetis authored Apr 15, 2022
2 parents 6e8b2dc + 09a5fe5 commit 59797b1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
is_default_variant: true
steps:
- uses: actions/checkout@v2
- uses: docker/setup-qemu-action@v1
with:
platforms: arm64,arm
- uses: docker/setup-buildx-action@v1
- uses: docker/login-action@v1
with:
Expand All @@ -42,6 +45,7 @@ jobs:
tags: ${{ env.GHCR_IMAGE_REPOSITORY }}:${{ env.POETRY_VERSION }}-python-${{ matrix.python }}-${{ matrix.variant }}
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: linux/amd64,linux/arm64,linux/arm,linux/arm/v6
build-args: |
POETRY_VERSION=${{ env.POETRY_VERSION }}
PYTHON_VERSION=${{ matrix.python }}
Expand All @@ -52,6 +56,7 @@ jobs:
with:
push: true
tags: ${{ env.GHCR_IMAGE_REPOSITORY }}:${{ env.POETRY_VERSION }}-python-${{ matrix.python }}
platforms: linux/amd64,linux/arm64,linux/arm,linux/arm/v6
build-args: |
POETRY_VERSION=${{ env.POETRY_VERSION }}
PYTHON_VERSION=${{ matrix.python }}
Expand All @@ -62,6 +67,7 @@ jobs:
with:
push: true
tags: ${{ env.GHCR_IMAGE_REPOSITORY }}:${{ env.POETRY_VERSION }}-${{ matrix.variant }}
platforms: linux/amd64,linux/arm64,linux/arm,linux/arm/v6
build-args: |
POETRY_VERSION=${{ env.POETRY_VERSION }}
PYTHON_VERSION=${{ matrix.python }}
Expand All @@ -72,6 +78,7 @@ jobs:
with:
push: true
tags: ${{ env.GHCR_IMAGE_REPOSITORY }}:${{ env.POETRY_VERSION }}
platforms: linux/amd64,linux/arm64,linux/arm,linux/arm/v6
build-args: |
POETRY_VERSION=${{ env.POETRY_VERSION }}
PYTHON_VERSION=${{ matrix.python }}
Expand Down

0 comments on commit 59797b1

Please sign in to comment.