From a0821ac8e153cc3c3da551cbe0363f0021b2a8c5 Mon Sep 17 00:00:00 2001 From: Andy Augustin Date: Mon, 8 Jan 2024 21:21:26 +0100 Subject: [PATCH] fix: :bug: (#204) --- src/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entrypoint.sh b/src/entrypoint.sh index 4d788e13..2fe741ec 100644 --- a/src/entrypoint.sh +++ b/src/entrypoint.sh @@ -45,7 +45,7 @@ function gpg_setup() { echo "::group::gpg setup" info "start prepare gpg" echo -e "$GPG_PRIVATE_KEY" | gpg --import --batch - 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 + # 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}"