From db5cd5d77405ae6c3d328fa9453c432ecbf068f6 Mon Sep 17 00:00:00 2001 From: Thomas Leplus Date: Sat, 20 Apr 2024 22:30:00 -0300 Subject: [PATCH] Update dockerimage.yml --- .github/workflows/dockerimage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index 79d3c11..ea4bc92 100644 --- a/.github/workflows/dockerimage.yml +++ b/.github/workflows/dockerimage.yml @@ -53,7 +53,7 @@ jobs: if: github.ref == 'refs/heads/main' run: | # shellcheck disable=SC2086 - RC="$(\grep ${IMAGE}/Dockerfile -e '^FROM' | \head -n 1 | \sed -e 's/^.*://')" + RC="$(\grep ${IMAGE}/Dockerfile -e '^FROM' | \head -n 1 | \sed -e 's/^.*://; s/@.*$//;')" if [[ "${RC}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] && ! \git show-ref --tags --verify --quiet "refs/tags/v${RC}" ; then \echo "RELEASE=${RC}" >> "${GITHUB_ENV}" fi