Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enable building arm64 docker images #658

Merged
merged 3 commits into from
Apr 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: linux/amd64, linux/arm64

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand All @@ -27,7 +29,8 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
outputs: type=docker,dest=/tmp/docker.tar
platforms: linux/amd64, linux/arm64
outputs: type=oci,dest=/tmp/docker.tar
tags: bancho.py:${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max
Expand All @@ -50,7 +53,7 @@ jobs:
if: ${{ github.ref == 'refs/heads/master' }}
with:
context: .
platforms: linux/amd64
platforms: linux/amd64, linux/arm64
push: true
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/bancho.py:latest
Expand Down
Loading