Skip to content

Commit

Permalink
fix get short sha
Browse files Browse the repository at this point in the history
  • Loading branch information
acaiado committed Mar 8, 2024
1 parent 025baa5 commit f9e09f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI-CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
echo "Setting TAG_VERSION to ${{ github.event.release.tag_name }}"
echo "TAG_VERSION=${{ github.event.release.tag_name }}" >> "$GITHUB_OUTPUT"
else
echo "Setting TAG_VERSION to ${{ github.sha::8 }}"
echo "TAG_VERSION=${{ github.sha::8 }}" >> "$GITHUB_OUTPUT"
echo "Setting TAG_VERSION to $("${{ github.sha }}".SubString(0, 8))
echo "TAG_VERSION=$("${{ github.sha }}".SubString(0, 8))" >> "$GITHUB_OUTPUT"
fi
- name: Set push image
id: set-push-image
Expand Down

0 comments on commit f9e09f3

Please sign in to comment.