Skip to content

Commit

Permalink
enable gpg signing
Browse files Browse the repository at this point in the history
  • Loading branch information
peterkir committed May 22, 2024
1 parent e816b02 commit a7e0a4f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/30_release-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
release:
runs-on: ubuntu-latest
env:
RELEASE_VERSION: '${{ github.event.inputs.release-version }}'
NEXT_SNAPSHOT_VERSION: '${{ github.event.inputs.next-snaphot-version }}'
GPG_SIGNING_KEY: '${{ secrets.GPG_SIGNING_KEY }}'
GPG_PASSPHRASE_PETER_AT_KLIB_IO: '${{ secrets.GPG_PASSPHRASE_PETER_AT_KLIB_IO }}'
REPOSILITE_ID: '${{ vars.REPOSILITE_ID }}'
REPOSILITE_URL: '${{ vars.REPOSILITE_URL }}'
REPOSILITE_USER_RELEASE: '${{ secrets.REPOSILITE_USER_RELEASE }}'
Expand Down Expand Up @@ -46,6 +50,11 @@ jobs:
17
21
- name: Configure GPG Key
run: |
echo -n "$GPG_SIGNING_KEY" | base64 --decode > private-key.gpg
echo "$GPG_PASSPHRASE_PETER_AT_KLIB_IO" | gpg --batch --quiet --yes --no-use-agent --passphrase-fd 0 your_file.gpg
- name: build
shell: bash
run: |
Expand Down

0 comments on commit a7e0a4f

Please sign in to comment.