From 86d12cd8ac9a75c983d89919809a589b53d37a8c Mon Sep 17 00:00:00 2001 From: Jermiah Joseph Date: Sun, 21 Jan 2024 20:26:37 -0500 Subject: [PATCH] Add support for multiple platforms in Docker build --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 268ca70..2edc21d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -70,6 +70,7 @@ jobs: uses: docker/build-push-action@v5 with: context: . + platforms: linux/amd64,linux/arm64 file: ./Dockerfile push: true tags: ${{ secrets.DOCKERHUB_USERNAME }}/nbiatoolkit:${{ env.DOCKER_IMAGE_TAG }}