Skip to content

Commit

Permalink
Add Arm64 support (#58)
Browse files Browse the repository at this point in the history
* Add QEMU

* Add platforms to docker image
  • Loading branch information
Minituff authored Oct 20, 2023
1 parent a3942a4 commit cab0e3f
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,20 @@ jobs:
push_to_registries:
name: Push Docker image to multiple registries
runs-on: ubuntu-latest
# Sets the permissions granted to the GITHUB_TOKEN for the actions in this job.
permissions:
permissions: # Sets the permissions granted to the GITHUB_TOKEN for the actions in this job.
packages: write
contents: read

steps:

- name: Check out the repo
uses: actions/checkout@v4


- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to Docker Hub
uses: docker/login-action@v3.0.0
with:
Expand Down Expand Up @@ -68,6 +72,7 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
Expand Down

0 comments on commit cab0e3f

Please sign in to comment.