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:
parent
f6ab32c617
commit
eeffabf14a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue