try github actions matrix to improve speed

Signed-off-by: Simon Smith <simonsmith5521@gmail.com>

Simon Smith committed Jun 4, 2025 at 00:16 UTC bb58763308d6efb28a386dd7fe514e1ffd8bce3e
1 file changed +8 -3
.github/workflows/docker.yml
+8 -3
@@ -25,6 +25,13 @@ jobs:
25 build:
26 name: Release
27 runs-on: ubuntu-latest
28 + strategy:
29 + matrix:
30 + platform:
31 + - linux/amd64
32 + - linux/arm64
33 + - linux/arm/v6
34 + - linux/arm/v7
35 needs: [check-token]
36 if: needs.check-token.outputs.token_defined == 'true'
37 steps:
@@ -35,8 +42,6 @@ jobs:
42
43 - name: Set up QEMU
44 uses: docker/setup-qemu-action@v3
38 - with:
39 - platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7
45
46 - name: Set up Docker Buildx
47 uses: docker/setup-buildx-action@v3
@@ -61,7 +66,7 @@ jobs:
66 with:
67 context: .
68 file: docker/Dockerfile
64 - platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7
69 + platforms: ${{ matrix.platform }}
70 push: true
71 tags: ${{ steps.meta.outputs.tags }}
72 labels: ${{ steps.meta.outputs.labels }}