Skip to content

Commit

Permalink
Update git command in build docker image workflow (#278)
Browse files Browse the repository at this point in the history
* empty

* replace by head
  • Loading branch information
amishas157 authored Aug 22, 2024
1 parent eea48fb commit 0c9afe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

- name: Add SHORT_SHA env property with commit short sha
run: |
SHORT_SHA=$(git rev-parse --short=9 ${{ github.event.pull_request.head.sha }})
SHORT_SHA=$(git rev-parse --short=9 HEAD)
echo "SHORT_SHA=$SHORT_SHA" >> $GITHUB_ENV
echo "Short SHA: $SHORT_SHA"
Expand Down

0 comments on commit 0c9afe9

Please sign in to comment.