diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b49130056..f5edbc6d8 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -47,7 +47,7 @@ jobs: group: ${{ github.workflow }}-${{ github.job }}-${{matrix.name}}-${{ github.head_ref || github.run_id }} cancel-in-progress: true runs-on: - group: aws-highmemory-32-plus-priv + group: ${{ matrix.platform == 'linux/arm64' && 'aws-r8g-8xl-plus-nix' || 'aws-highmemory-32-plus-priv' }} permissions: contents: write packages: write @@ -126,7 +126,7 @@ jobs: context: . file: ${{ matrix.dockerfile }} push: ${{ github.event_name != 'pull_request' }} - platforms: ${{ matrix.platforms || 'linux/amd64' }} + platforms: ${{ matrix.platform || 'linux/amd64' }} build-args: | SCCACHE_GHA_ENABLED=${{ matrix.sccache }} CUDA_COMPUTE_CAP=${{ matrix.cudaComputeCap }} @@ -168,7 +168,7 @@ jobs: target: grpc file: ${{ matrix.dockerfile }} push: ${{ github.event_name != 'pull_request' }} - platforms: ${{ matrix.platforms || 'linux/amd64' }} + platforms: ${{ matrix.platform || 'linux/amd64' }} build-args: | SCCACHE_GHA_ENABLED=${{ matrix.sccache }} CUDA_COMPUTE_CAP=${{ matrix.cudaComputeCap }} diff --git a/.github/workflows/matrix.json b/.github/workflows/matrix.json index 69c911dd4..0f1b400c9 100644 --- a/.github/workflows/matrix.json +++ b/.github/workflows/matrix.json @@ -69,7 +69,7 @@ "runOn": "always", "sccache": true, "cudaComputeCap": 121, - "platforms": "linux/arm64", + "platform": "linux/arm64", "grpc": true, "dockerfile": "Dockerfile-cuda" }, @@ -94,7 +94,7 @@ "imageNamePrefix": "cpu-arm64-", "runOn": "always", "sccache": true, - "platforms": "linux/arm64", + "platform": "linux/arm64", "grpc": true, "dockerfile": "Dockerfile-arm64" },