Skip to content

Commit

Permalink
Switch to GPG File Jenkins secret
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigonull committed Aug 14, 2024
1 parent eee7cf6 commit 9a8c4a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jenkins-pipeline-shared-libraries/vars/releaseUtils.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def gpgImportKeyFromStringWithoutPassword(String gpgKeyCredentialsId) {
withCredentials([file(credentialsId: gpgKeyCredentialsId, variable: 'SIGNING_KEY')]) {
sh """
gpg --list-keys
cat "$SIGNING_KEY" | gpg --batch --pinentry-mode=loopback --import
gpg --batch --pinentry-mode=loopback --import $SIGNING_KEY
"""
}
}
Expand Down

0 comments on commit 9a8c4a7

Please sign in to comment.