diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 9c8552d16..463f58b48 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -167,7 +167,7 @@ jobs: - name: Configure GPG Key run: | sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ${{ secrets.GPG_PUB_KEY }} - + git config --global user.signingkey ${{ secrets.GPG_PUB_KEY }} mkdir -p ~/.gnupg/ @@ -175,13 +175,13 @@ jobs: touch ~/.gnupg/gpg.conf echo "use-agent" >> ~/.gnupg/gpg.conf echo "pinentry-mode loopback" >> ~/.gnupg/gpg.conf - + touch ~/.gnupg/gpg-agent.conf echo "allow-loopback-pinentry" >> ~/.gnupg/gpg-agent.conf echo RELOADAGENT | gpg-connect-agent - + printf "${{ secrets.GPG_SIGNING_KEY }}" | base64 --decode > ~/.gnupg/private.key - gpg --import ~/.gnupg/private.key --no-tty + gpg --import ~/.gnupg/private.key - name: Bump version run: | git pull