Skip to content

Commit

Permalink
Fixes commit SHA length for master branch builds (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
naresh-kumar-babu authored Jun 20, 2024
1 parent 9b933e5 commit f530a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
echo REGISTRY_TAGS=$REGISTRY_TAGS
echo headref=${{ github.head_ref }}
SHA_SHORT=${{ github.sha }}
SHA_SHORT=$(echo ${{ github.sha }} | cut -c1-8)
[ "${{ github.event_name }}" == "pull_request" ] && SHA_SHORT=$(echo ${{ github.event.pull_request.head.sha }} | cut -c1-8)
echo "Final image tag to be pushed:"
Expand Down

0 comments on commit f530a87

Please sign in to comment.