Skip to content

Commit

Permalink
馃攼 Add signing (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
stoe committed Mar 25, 2023
1 parent 7a80121 commit 6a76d60
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ jobs:
steps:
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f

- uses: crazy-max/ghaction-import-gpg@v5
id: gpg
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}

- uses: cli/gh-extension-precompile@640911b0a0f2adb89a07a8ba547053cbd4001e1e
with:
go_version: 1.20.x
gpg_fingerprint: ${{ steps.gpg.outputs.fingerprint }}
3 changes: 3 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ archives:
checksum:
name_template: "checksums.txt"

signs:
- artifacts: checksum

snapshot:
name_template: "{{ incpatch .Version }}"

Expand Down

0 comments on commit 6a76d60

Please sign in to comment.