Skip to content

Commit

Permalink
fix: adding multi arch support (#17)
Browse files Browse the repository at this point in the history
* fix: adding multi arch support
  • Loading branch information
mabunixda authored Nov 22, 2022
1 parent c035ba9 commit 5c1b26c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,12 @@ jobs:
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

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

- name: Cache Docker layers
uses: actions/cache@v2
Expand All @@ -98,6 +103,7 @@ jobs:
password: ${{ secrets.QUAY_TOKEN }}

- name: Login to GitHub Container Registry
if: needs.prebuild.outputs.version != ''
uses: docker/login-action@v1
with:
registry: ghcr.io
Expand All @@ -113,6 +119,7 @@ jobs:
file: ./Dockerfile
push: ${{ github.event_name != 'pull_request' && needs.prebuild.outputs.version != '' }}
tags: ${{ steps.prep.outputs.tags }}
platforms: 'arm64,amd64'

release:
needs: [ prebuild, build ]
Expand Down

0 comments on commit 5c1b26c

Please sign in to comment.