diff --git a/.github/workflows/ci.build.release.yml b/.github/workflows/ci.build.release.yml
index e6e940f68d2bb602109a0575e82b224ff2cecd31..64616d00c649712e81e1409b1792573a37a73454 100644
--- a/.github/workflows/ci.build.release.yml
+++ b/.github/workflows/ci.build.release.yml
@@ -49,19 +49,19 @@ jobs:
         id: ci_tag_release_version
         if: contains(env.DOCKER_BUILD_ENABLED, 'true')
         shell: bash
-        run: echo "##[set-output name=tag;]$(echo ${GITHUB_REF#refs/tags/} | cut -c 9-)"
+        run: echo "##[set-output name=tag;]$(echo ${{github.ref_name}} | cut -c 9-)"
 
       - name: Extract Tag Release Major
         id: ci_tag_release_major
         if: contains(env.DOCKER_BUILD_ENABLED, 'true')
         shell: bash
-        run: echo "##[set-output name=tag;]$(echo ${{steps.ci_tag_release_version.outputs.tag}} | cut -f1-1 -d'.')"
+        run: echo "##[set-output name=tag;]$(echo ${{steps.ci_tag_release_version.outputs.tag}} | cut -f 1-1 -d '.')"
 
       - name: Extract Tag Release Minor
         id: ci_tag_release_minor
         if: contains(env.DOCKER_BUILD_ENABLED, 'true')
         shell: bash
-        run: echo "##[set-output name=tag;]$(echo ${{steps.ci_tag_release_version.outputs.tag}} | cut -f1-2 -d'.')"
+        run: echo "##[set-output name=tag;]$(echo ${{steps.ci_tag_release_version.outputs.tag}} | cut -f 1-2 -d '.')"
 
       - name: Build and Push
         if: contains(env.DOCKER_BUILD_ENABLED, 'true')