From 1bdbd6f154216d90d2189d5dc9e76133e7da9373 Mon Sep 17 00:00:00 2001 From: Nat Budin Date: Fri, 1 Sep 2023 10:36:34 -0700 Subject: [PATCH] Hopefully push the arm64 image to the registry --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0e961f9f..7368abe5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,12 +7,15 @@ on: jobs: docker-release: runs-on: ubuntu-latest + strategy: + matrix: + platform: ["linux/amd64", "linux/arm64"] steps: - uses: actions/checkout@v3 - name: Log in to registry run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin - name: Pull built image - run: docker pull ghcr.io/${{ github.repository }}:${{ github.sha }} + run: docker pull --platform ${{ matrix.platform }} ghcr.io/${{ github.repository }}:${{ github.sha }} - name: Tag image with version Tag run: docker tag ghcr.io/${{ github.repository }}:${{ github.sha }} ghcr.io/${{ github.repository }}:${{ github.event.release.name }} - name: Tag image as latest