Skip to content

Commit

Permalink
set short sha length to 7 chars
Browse files Browse the repository at this point in the history
  • Loading branch information
acaiado committed Mar 8, 2024
1 parent b77085f commit d1718e8
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 `echo ${{ github.sha }} | cut -c1-8`"
echo "TAG_VERSION=`echo ${{ github.sha }} | cut -c1-8`" >> "$GITHUB_OUTPUT"
echo "Setting TAG_VERSION to `echo ${{ github.sha }} | cut -c1-7`"
echo "TAG_VERSION=`echo ${{ github.sha }} | cut -c1-7`" >> "$GITHUB_OUTPUT"
fi
- name: Set push image
id: set-push-image
Expand Down

0 comments on commit d1718e8

Please sign in to comment.