diff --git a/.github/workflows/build-images.yaml b/.github/workflows/build-images.yaml index 930c18b8..31ae3a89 100644 --- a/.github/workflows/build-images.yaml +++ b/.github/workflows/build-images.yaml @@ -34,6 +34,7 @@ jobs: id: authorino-build-info run: | if [[ ${GITHUB_REF_NAME/\//-} =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-.+)?$ ]]; then + tag=${GITHUB_REF_NAME/\//-} echo "VERSION=${tag#v}" >> $GITHUB_ENV else echo "version=latest" >> $GITHUB_ENV