Skip to content

Commit 94d316f

Browse files
author
Hendry, Adam
committed
fix(entrypoint.sh): add gpg.program
Add `gpg.program` to Git config.
1 parent d4f4171 commit 94d316f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ if [[ $INPUT_GPG_SIGN == 'true' ]]; then
2020
exit 2
2121
fi
2222
echo "Configuring GPG for signing commits and tags..."
23+
git config --local gpg.program gpg
2324
git config --local commit.gpgsign true
2425
git config --local tag.gpgsign true
2526
git config --local user.signingkey "${INPUT_GIT_SIGNINGKEY}"
27+
echo "Git GPG program: $(git config --get gpg.program)"
2628
echo "Git sign commits?: $(git config --get commit.gpgsign)"
2729
echo "Git sign tags?: $(git config --get tag.gpgsign)"
2830
fi

0 commit comments

Comments
 (0)