diff --git a/.github/workflows/taiko-client--docker.yml b/.github/workflows/taiko-client--docker.yml index 8b5ed921889..4b22f12b4d8 100644 --- a/.github/workflows/taiko-client--docker.yml +++ b/.github/workflows/taiko-client--docker.yml @@ -11,31 +11,39 @@ on: jobs: push-docker-image: name: Build and push docker image - runs-on: [arc-runner-set] + strategy: + matrix: + include: + - runner: arc-runner-set + platform: linux/amd64 + - runner: arc-runner-set-arm64 + platform: linux/arm64 + + runs-on: ${{ matrix.runner }} steps: - - name: Install Git + - name: Prepare Environment run: sudo apt-get update && sudo apt-get install -y git - name: Checkout uses: actions/checkout@v4 - name: Login to GAR - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: us-docker.pkg.dev username: _json_key password: ${{ secrets.GAR_JSON_KEY }} - 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@v1 + uses: docker/setup-buildx-action@v3 - name: Docker meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: | us-docker.pkg.dev/evmchain/images/taiko-client @@ -50,7 +58,7 @@ jobs: with: context: . file: packages/taiko-client/Dockerfile - platforms: linux/amd64,linux/arm64 + platforms: ${{ matrix.platform }} push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}