From 3b540f7ef30f03e1b756c1466f6d435421162632 Mon Sep 17 00:00:00 2001 From: nitwhiz Date: Wed, 20 Jul 2022 16:46:07 +0200 Subject: [PATCH] add arm64 in workflow image build --- .github/workflows/build-and-publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 5530dcd..c5f4833 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -29,14 +29,14 @@ jobs: with: registry: ghcr.io username: ${{ github.actor }} - password: ${{ secrets.GHCR_PAT }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Build image and push to GitHub Container Registry as specific tag uses: docker/build-push-action@v2 if: ${{ github.ref_type == 'tag' }} with: context: ./ - platforms: linux/amd64,linux/arm/v7 + platforms: linux/amd64,linux/arm/v7,linux/arm64 tags: "ghcr.io/${{ github.repository }}:${{ github.ref_name }}" push: true @@ -45,6 +45,6 @@ jobs: if: ${{ github.ref_type != 'tag' }} with: context: ./ - platforms: linux/amd64,linux/arm/v7 + platforms: linux/amd64,linux/arm/v7,linux/arm64 tags: "ghcr.io/${{ github.repository }}:latest" push: ${{ github.ref == 'refs/heads/main' }}