Skip to content

Commit

Permalink
Sign produced artifacts directly with gpg
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Nov 12, 2024
1 parent 50b3ab6 commit 1d5bc9e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/reusable-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,12 @@ jobs:
SIGNING_KEY=${{ secrets.GPG_SIGNING_KEY_ID }}
cd ..
ls -lha PACKAGES/
for file in PACKAGES; do
if test -f "$file"; then
gpg --default-key "${{ env.GPG_SIGNING_KEY_ID }}" --detach-sign --armor "$file"
end
end
ls -lha PACKAGES/
- name: Build Debian package without GPG signing
if: inputs.gpg_sign_release == false
run: |
Expand Down Expand Up @@ -322,6 +328,12 @@ jobs:
SIGNING_KEY="${{ secrets.GPG_SIGNING_KEY_ID }}"
cd ..
ls -lha PACKAGES/
for file in PACKAGES; do
if test -f "$file"; then
gpg --default-key "${{ env.GPG_SIGNING_KEY_ID }}" --detach-sign --armor "$file"
end
end
ls -lha PACKAGES/
- name: Build RPM package without GPG signing
if: inputs.gpg_sign_release == false
run: |
Expand Down

0 comments on commit 1d5bc9e

Please sign in to comment.