From 7c321102dd1c65adf0c872c3632fa8367e8bee0e Mon Sep 17 00:00:00 2001 From: Admiral Awkbar Date: Tue, 31 Aug 2021 12:37:27 -0500 Subject: [PATCH] fix bug --- .github/workflows/deploy-RELEASE-standard.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/deploy-RELEASE-standard.yml b/.github/workflows/deploy-RELEASE-standard.yml index 5110f6bf..4b22d100 100644 --- a/.github/workflows/deploy-RELEASE-standard.yml +++ b/.github/workflows/deploy-RELEASE-standard.yml @@ -88,6 +88,16 @@ jobs: password: ${{ secrets.GCR_TOKEN }} registry: ghcr.io + ########################### + # Get the current release # + ########################### + - name: Get current Release number + # shellcheck disable=SC2062 + run: | + echo "RELEASE_VERSION=$(echo ${{ github.event.release.name }} \ + | grep -E -o "v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+")" \ + >> "${GITHUB_ENV}" + ################ # Docker cache # ################