Skip to content

Commit f1f1f70

Browse files
authored
Update build-image-test.yaml
1 parent 8332068 commit f1f1f70

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/build-image-test.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,31 @@ jobs:
1818

1919
strategy:
2020
matrix:
21+
os-type:
22+
- ubuntu
23+
- macos
2124
arch:
2225
- amd64
2326
- arm64
2427
include:
2528
- os-name: Ubuntu x64
2629
os: ubuntu-latest
30+
os-type: ubuntu
2731
arch: amd64
2832

2933
- os-name: Ubuntu ARM
3034
os: ubuntu-24.04-arm
35+
os-type: ubuntu
3136
arch: arm64
3237

3338
- os-name: MacOS x64
3439
os: macos-13
40+
os-type: macos
3541
arch: amd64
3642

3743
- os-name: MacOS ARM
3844
os: macos-13
45+
os-type: macos
3946
arch: arm64
4047

4148
name: ${{ matrix.os-name }}
@@ -65,7 +72,7 @@ jobs:
6572
echo "IMAGE=ghcr.io/${repo}:${{ env.IMAGE_TAG }}" >> $GITHUB_ENV
6673
6774
- name: Setup Docker on macOS
68-
if: runner.os == 'macOS'
75+
if: matrix.os-type == 'macos'
6976
uses: douglascamata/[email protected]
7077

7178
- name: Set up Docker Buildx

0 commit comments

Comments
 (0)