From d49cf0a77f43319b189faf1c1a185a1cb30b2071 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Tue, 15 Dec 2020 09:01:10 -0700 Subject: [PATCH] Attempt to add arm64 build --- .github/workflows/docker-publish.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index a9b5f44..d11327f 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -36,11 +36,16 @@ jobs: - name: Code Checkout uses: actions/checkout@v2 + - name: Install buildx + uses: crazy-max/ghaction-docker-buildx@v1 + with: + version: latest + - name: Registry Authentication run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin - name: Build Image - run: docker build ./${{ matrix.image }} --tag ${{ matrix.image }} + run: docker buildx build ./${{ matrix.image }} --tag ${{ matrix.image }} --platform linux/amd64,linux/arm64 - name: Push Image run: |