Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
Update multi-platform.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
leecalcote authored Apr 15, 2022
1 parent 7004e76 commit 9bb794a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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') }}
Expand Down

0 comments on commit 9bb794a

Please sign in to comment.