From ad1c4ecbc914b31dcdc32a2a0029c6ba6550dbc5 Mon Sep 17 00:00:00 2001 From: meeb Date: Thu, 27 May 2021 19:49:41 +1000 Subject: [PATCH] add multi-platform container image builds to latest image build process, part of #81 --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 06210047..24974517 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -37,7 +37,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Build the container image - run: docker build . --tag $IMAGE_NAME + run: docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag $IMAGE_NAME . - name: Log into GitHub Container Registry run: echo "${{ secrets.REGISTRY_ACCESS_TOKEN }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin - name: Push image to GitHub Container Registry