Skip to content

Commit 90a705d

Browse files
committed
inspect image before done
1 parent dd61e3d commit 90a705d

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
runner:
24-
- ubuntu-24.04
25-
- ubuntu-24.04-arm
23+
include:
24+
- platform: linux/amd64
25+
runner: ubuntu-24.04
26+
- platform: linux/arm64
27+
runner: ubuntu-24.04-arm
2628
steps:
2729
- name: Checkout code
2830
uses: actions/checkout@v4
@@ -121,6 +123,10 @@ jobs:
121123
docker buildx imagetools create \
122124
--tag "$DOCKER_METADATA_OUTPUT_TAGS" \
123125
"$DOCKER_APP_IMAGE_ARM64" "$DOCKER_APP_IMAGE_X64"
126+
- name: Inspect the multi-platform image
127+
run: |
128+
docker buildx imagetools inspect \
129+
"$DOCKER_METADATA_OUTPUT_TAGS"
124130
125131
test:
126132
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)