From 113a084624e60d783953f1370ec6598e10cb8bdf Mon Sep 17 00:00:00 2001 From: huaiyuan <1029848564@qq.com> Date: Tue, 18 Jun 2024 15:50:22 +0800 Subject: [PATCH] ci: Github workflow arm64 --- .github/workflows/build_frontend.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_frontend.yml b/.github/workflows/build_frontend.yml index 7466980..4206d29 100644 --- a/.github/workflows/build_frontend.yml +++ b/.github/workflows/build_frontend.yml @@ -17,9 +17,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: @@ -49,9 +49,10 @@ jobs: - name: Build run: npm run app:build - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . file: Dockerfile push: true tags: beclab/wizard:${{ steps.get-latest-tag.outputs.tag }} + platforms: linux/amd64,linux/arm64 \ No newline at end of file