From 1205f3d40a61056aee493fc7c62313323e3465ba Mon Sep 17 00:00:00 2001 From: zsbai <62942942+zsbai@users.noreply.github.com> Date: Wed, 8 Jun 2022 17:32:05 +0800 Subject: [PATCH 1/2] Update main.yml --- .github/workflows/main.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5339f45..1ce36a8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,21 +26,25 @@ jobs: type=sha - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 + + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 - name: Login to GHCR - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + plarforms: linux/amd64,linux/arm64 cache-from: type=gha cache-to: type=gha,mode=max From c8a0cf4c6a8899cf73a18856db4037aa141f59a7 Mon Sep 17 00:00:00 2001 From: zsbai <62942942+zsbai@users.noreply.github.com> Date: Wed, 8 Jun 2022 17:34:58 +0800 Subject: [PATCH 2/2] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1ce36a8..3dde68e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -45,6 +45,6 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - plarforms: linux/amd64,linux/arm64 + platforms: linux/amd64,linux/arm64 cache-from: type=gha cache-to: type=gha,mode=max