From 012a21e5db8170590b63fe36bd3b00c04bed0f29 Mon Sep 17 00:00:00 2001 From: Johnson Sun Date: Fri, 5 Jul 2024 14:24:25 +0800 Subject: [PATCH] ci(husky-ws): Add arm64 CI Ref: https://docs.docker.com/build/ci/github-actions/multi-platform/ --- .github/workflows/build-husky-ws.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-husky-ws.yaml b/.github/workflows/build-husky-ws.yaml index d8205e83..9eb7bcc6 100644 --- a/.github/workflows/build-husky-ws.yaml +++ b/.github/workflows/build-husky-ws.yaml @@ -21,6 +21,8 @@ jobs: - name: Checkout uses: actions/checkout@v3 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 - name: Docker meta id: meta @@ -43,5 +45,6 @@ jobs: uses: docker/build-push-action@v4 with: context: husky_ws/docker + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }}