Skip to content

Commit

Permalink
fix: 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasAugustin committed Mar 11, 2024
1 parent 7794d6c commit b399788
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ function gpg_setup() {
for fpr in $(gpg --list-key --with-colons "${git_user_email}" | awk -F: '/fpr:/ {print $10}' | sort -u); do echo -e "5\ny\n" | gpg --no-tty --command-fd 0 --expert --edit-key "$fpr" trust; done

KEY_ID="$(gpg --list-secret-key --with-colons "${git_user_email}" | awk -F: '/sec:/ {print $5}')"
git config --global user.signingkey "${KEY_ID}"
git config --global commit.gpgsign true
git config --global gpg.program /bin/gpg_no_tty.sh
git config user.signingkey "${KEY_ID}"
git config commit.gpgsign true
git config gpg.program gpg_no_tty.sh

info "done prepare gpg"
echo "::endgroup::"
Expand All @@ -133,10 +133,10 @@ function git_init() {
local git_user_name=$2
local source_repo_hostname=$3

git config --global user.email "${git_user_email}"
git config --global user.name "${git_user_name}"
git config --global pull.rebase false
git config --global --add safe.directory /github/workspace
git config user.email "${git_user_email}"
git config user.name "${git_user_name}"
git config pull.rebase false
git config --add safe.directory /github/workspace
# TODO(anau) think about git lfs
git lfs install

Expand Down

0 comments on commit b399788

Please sign in to comment.