docker: Build image for arm64 (#848)

Newer Mac computers with their M1 chips use the ARM architecture [1]. Currently there is no docker image for postgraphile published to Docker Hub supporting the `arm64` platform, only for `amd64`. This commit adds compilation for an ARM image as well, so that developers on newer Mac computers can use postgraphile inside a container as well.

[1] https://en.wikipedia.org/wiki/Apple_M1
This commit is contained in:
Jonas Thelemann 2022-12-05 15:55:57 +01:00 committed by GitHub
parent f6ab32c617
commit eeffabf14a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ jobs:
build-args: | build-args: |
GIT_VERSION=${{ env.GIT_VERSION }} GIT_VERSION=${{ env.GIT_VERSION }}
GIT_COMMIT=${{ github.sha }} GIT_COMMIT=${{ github.sha }}
platforms: linux/amd64,linux/arm64/v8
build-binary: build-binary:
runs-on: ubuntu-latest runs-on: ubuntu-latest