diff --git a/.github/workflows/ci.build.prerelease.yml b/.github/workflows/ci.build.prerelease.yml index dfa94e52d3bd1151052455b699e156d9a811faf7..7b61601f4f96603777425c6ce07b09644ac09f31 100644 --- a/.github/workflows/ci.build.prerelease.yml +++ b/.github/workflows/ci.build.prerelease.yml @@ -51,6 +51,12 @@ jobs: shell: bash run: echo "##[set-output name=tag;]$(echo ${GITHUB_REF#refs/tags/} | 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'.')" + - name: Build and Push if: contains(env.DOCKER_BUILD_ENABLED, 'true') uses: docker/build-push-action@v2