From 582e4c9f7b796305032c7720b89639cfc4c392f8 Mon Sep 17 00:00:00 2001 From: Thomas Leplus Date: Wed, 13 Nov 2024 03:16:34 +0530 Subject: [PATCH] Update trigger-release.yml --- .github/workflows/trigger-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/trigger-release.yml b/.github/workflows/trigger-release.yml index 8a14fd0..d7c4146 100644 --- a/.github/workflows/trigger-release.yml +++ b/.github/workflows/trigger-release.yml @@ -22,7 +22,7 @@ jobs: if: github.ref == 'refs/heads/main' run: | # shellcheck disable=SC2086 - VERSION="$(\grep ${IMAGE}/Dockerfile -e '^FROM' | \head -n 1 | \sed -e 's/(-[A-Za-z][A-Za-z0-9]*)?@.*$//; s/^.*://;')" + VERSION="$(\grep ${IMAGE}/Dockerfile -e '^FROM' | \head -n 1 | \sed -e 's/\-[A-Za-z][A-Za-z0-9]*@.*$//; s/^.*://;')" if [[ "${VERSION}" =~ ^[0-9]+\.[0-9]+$ ]] ; then \echo "VERSION=${VERSION}" >> "${GITHUB_ENV}" fi