diff --git a/.github/workflows/multi-platform.yml b/.github/workflows/multi-platform.yml index 4c646fde..384f2efb 100644 --- a/.github/workflows/multi-platform.yml +++ b/.github/workflows/multi-platform.yml @@ -54,9 +54,9 @@ jobs: name: Identify Release Values if: "${{ github.event.inputs.release-ver}} != 'v' }}" run: | - echo "GIT_TAG=$(git symbolic-ref HEAD -q)" >> $GITHUB_ENV - GIT_TAG=`` - if [[ $GIT_TAG = refs/tags* ]] + # echo "GIT_TAG=$(git symbolic-ref HEAD -q)" >> $GITHUB_ENV + echo "GIT_REF=$GIT_REF" + if [[ $GIT_REF = refs/tags* ]] then echo RELEASE_CHANNEL=stable >> $GITHUB_ENV else @@ -90,7 +90,6 @@ jobs: tags: | type=raw,value=${{env.RELEASE_CHANNEL}}-{{sha}} type=semver,pattern={{version}},value=${{env.GIT_STRIPPED_VERSION}} - type=raw,pattern={{version}},value=${{env.RELEASE_CHANNEL}}-${{env.GIT_VERSION}} type=raw,value=${{env.RELEASE_CHANNEL}}-{{tag}},enable=${{ startsWith(github.ref, 'refs/tags/v') }} type=raw,value=${{env.RELEASE_CHANNEL}}-latest type=raw,value=${{env.RELEASE_CHANNEL}}-${{env.GIT_VERSION}},enable=${{ startsWith(github.ref, 'refs/tags/v') }}