Skip to content

Commit 46be63a

Browse files
authored
Expand Docker build matrix in Github Actions workflow (#110)
The publish.yml file has been updated to expand the build matrix for the Docker job. This now includes three platforms: linux/amd64, linux/arm64/v8, and linux/386. In addition, the platform names have been updated to use the matrix platform values, increasing the flexibility of the workflow configuration.
1 parent 9897580 commit 46be63a

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/publish.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818

1919
jobs:
2020
phar:
21-
name: Publish PHAR
21+
name: PHAR
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout code
@@ -47,8 +47,14 @@ jobs:
4747
./build/csv-blueprint.phar
4848
4949
docker:
50-
name: Publish Docker
50+
name: Docker
5151
runs-on: ubuntu-latest
52+
strategy:
53+
matrix:
54+
platform:
55+
- linux/amd64
56+
- linux/arm64/v8
57+
- linux/386
5258
steps:
5359
- name: Checkout code
5460
uses: actions/checkout@v4
@@ -76,7 +82,7 @@ jobs:
7682
tags: |
7783
jbzoo/csv-blueprint:latest
7884
jbzoo/csv-blueprint:${{ github.event.release.tag_name }}
79-
platforms: linux/amd64,linux/arm64/v8,linux/386
85+
platforms: ${{ matrix.platform }}
8086
build-args: |
8187
VERSION=${{ github.event.release.tag_name }}
8288

0 commit comments

Comments
 (0)