We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6ba72b commit e80f915Copy full SHA for e80f915
.github/workflows/reusable-release.yaml
@@ -77,12 +77,12 @@ jobs:
77
private-key: ${{ secrets.TENZIR_GITHUB_APP_PRIVATE_KEY }}
78
79
- name: Set up GPG signing
80
- run: |
81
- echo "${{ secrets.TENZIR_BOT_GPG_SIGNING_KEY }}" | gpg --batch --import
82
- KEY_ID=$(gpg --list-secret-keys --keyid-format=long | grep sec | head -1 | awk '{print $2}' | cut -d'/' -f2)
83
- git config --global user.signingkey "$KEY_ID"
84
- git config --global commit.gpgsign true
85
- git config --global tag.gpgsign true
+ uses: crazy-max/ghaction-import-gpg@v6
+ with:
+ gpg_private_key: ${{ secrets.TENZIR_BOT_GPG_SIGNING_KEY }}
+ git_user_signingkey: true
+ git_commit_gpgsign: true
+ git_tag_gpgsign: true
86
87
- name: Configure Git
88
env:
0 commit comments