Build docker image for arm64 as well

Makes it possible to run it on a RaspberryPi
This commit is contained in:
Jonas Brusman 2023-12-16 16:07:36 +01:00 committed by GitHub
parent f69eaed5a6
commit 099ef7d37a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,6 +24,7 @@ jobs:
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4
with: with:
push: true push: true
platforms: linux/amd64,linux/arm64
tags: | tags: |
ghcr.io/${{ github.repository_owner }}/fedifetcher:${{ github.ref_name }} ghcr.io/${{ github.repository_owner }}/fedifetcher:${{ github.ref_name }}
ghcr.io/${{ github.repository_owner }}/fedifetcher:latest ghcr.io/${{ github.repository_owner }}/fedifetcher:latest