diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index af5e528..dadda4b 100644 --- a/.github/workflows/dockerimage.yml +++ b/.github/workflows/dockerimage.yml @@ -53,6 +53,7 @@ jobs: if: github.event_name != 'pull_request' run: | # shellcheck disable=SC2086 + \git show-ref --tags --verify "refs/tags/v${RC}" RC="$(\grep ${IMAGE}/Dockerfile -e '^FROM' | \head -n 1 | \sed -e '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}"