diff --git a/.github/workflows/cicd-release.yml b/.github/workflows/cicd-release.yml index acf378d3..e400cc37 100644 --- a/.github/workflows/cicd-release.yml +++ b/.github/workflows/cicd-release.yml @@ -38,7 +38,7 @@ jobs: - name: Get Version run: | - echo "VERSION=$( echo ${{ github.ref_name }} | cut -c 9- )" >> ${GITHUB_ENV} + echo "VERSION=$( git tag --points-at )" >> ${GITHUB_ENV} - name: Set Spring Image Environment Variable run: |