From e8e79e29013e99dc09d6a1c6a31f62832dfbec15 Mon Sep 17 00:00:00 2001 From: huaiyuan <1029848564@qq.com> Date: Tue, 18 Jun 2024 16:01:24 +0800 Subject: [PATCH] ci: Github workflow arm64 for frontend (#5) * ci: Github workflow arm64 for frontend * Revert "ci: Github workflow arm64 for frontend" This reverts commit 4c3729d57d99a5ea211cd8b5dba9cd23b738b895. * Reapply "ci: Github workflow arm64 for frontend" This reverts commit dc9d5526b8944fa63efd3e97e08e8e8600f25210. --- .github/workflows/build.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2757f78..51d9f1d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -14,9 +14,9 @@ jobs: - name: Check out the repo uses: actions/checkout@v3 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry uses: docker/login-action@v2 with: @@ -58,9 +58,10 @@ jobs: - name: Build run: npm run app:build - name: Build and push Docker image - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . push: true tags: beclab/devbox:${{ steps.get-latest-tag.outputs.tag }} file: Dockerfile + platforms: linux/amd64,linux/arm64