From eeffabf14a3207ee8773848dc604f7831db6a977 Mon Sep 17 00:00:00 2001 From: Jonas Thelemann Date: Mon, 5 Dec 2022 15:55:57 +0100 Subject: [PATCH] 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 --- .github/workflows/release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 782f69c..7649b4f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -68,6 +68,7 @@ jobs: build-args: | GIT_VERSION=${{ env.GIT_VERSION }} GIT_COMMIT=${{ github.sha }} + platforms: linux/amd64,linux/arm64/v8 build-binary: runs-on: ubuntu-latest