From f76896842110120bdf559bc925a640fcf971ef14 Mon Sep 17 00:00:00 2001 From: Maksym Sobolyev Date: Mon, 29 Jul 2024 00:36:23 -0700 Subject: [PATCH] Process tags. --- .github/workflows/build_and_test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index d8e14e3..43a027c 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -172,6 +172,7 @@ jobs: PLATFORMS="`docker manifest inspect ${{ env.BASE_IMAGE }} | jq -r '.manifests[] | "\(.platform.os)/\(.platform.architecture)"' | sort -u | paste -sd ','`" echo "PLATFORMS=${PLATFORMS}" >> $GITHUB_ENV GIT_BRANCH="${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" + GIT_BRANCH="${GIT_BRANCH#refs/tags/}" echo "GIT_BRANCH=${GIT_BRANCH}" >> $GITHUB_ENV OS_TAG="`echo ${BASE_IMAGE} | sed 's|:|_|g'`" echo "OS_TAG=${OS_TAG}" >> $GITHUB_ENV