From d06f1156f9e7386ea7f6cb7cd433d81e4201a5b7 Mon Sep 17 00:00:00 2001 From: Maksym Sobolyev Date: Fri, 16 Aug 2024 05:00:30 -0700 Subject: [PATCH] Set platforms correctly. --- .github/workflows/build_and_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 7cfcd7b..2ebbdaa 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -180,7 +180,7 @@ jobs: FILT="cat" fi PLATFORMS="`docker manifest inspect ${{ env.BASE_IMAGE }} | \ - jq -r '.manifests[] | "\(.platform.os)/\(.platform.architecture)"' | \ + jq -r '.manifests[] | "\(.platform.os)/\(.platform.architecture)\(if .platform.variant != null then "/\(.platform.variant)" else "" end)"' | \ sort -u | ${FILT} | paste -sd ','`" echo "PLATFORMS=${PLATFORMS}" >> $GITHUB_ENV GIT_BRANCH="${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}"