Skip to content

Commit ccea3ea

Browse files
committed
Update test.
1 parent f454da1 commit ccea3ea

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build-and-release-services-images.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,12 @@ jobs:
104104
fi
105105
amd64_found=$(echo "$manifest" | jq '.manifests[] | select(.platform.architecture == "amd64")')
106106
arm64_found=$(echo "$manifest" | jq '.manifests[] | select(.platform.architecture == "arm64")')
107-
if [[ -z "$amd64_found" || -z "$arm64_found" ]]; then
108-
echo "Multi-platform support check failed for $IMAGE_NAME:$tag"
107+
if [[ -z "$amd64_found" ]]; then
108+
echo "Multi-platform support check failed for $IMAGE_NAME:$tag - missing amd64"
109+
exit 1
110+
fi
111+
if [[ -z "$arm64_found" ]]; then
112+
echo "Multi-platform support check failed for $IMAGE_NAME:$tag - missing arm64"
109113
exit 1
110114
fi
111115
done

0 commit comments

Comments
 (0)