Skip to content

Commit

Permalink
fix getting git commit (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
rolyatmax authored Aug 15, 2024
1 parent 37b2549 commit d9c732b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ runs:
- name: Get commit message
shell: bash
run: |
COMMIT_MSG=$(git log -1 --pretty=%B)
echo "COMMIT_MSG=$COMMIT_MSG" >> $GITHUB_ENV
echo 'COMMIT_MSG<<EOF' >> $GITHUB_ENV
git log -1 --pretty=%B >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
- name: Extract Docker metadata
id: meta
Expand Down

0 comments on commit d9c732b

Please sign in to comment.