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 # ################