Skip to content

Commit

Permalink
feat(.goreleaser.yml): add sha256 check to release notes (#604)
Browse files Browse the repository at this point in the history
* feat(.goreleaser.yml): add sha256 check to release notes

Improve commands so that the checksum of the downloaded file is checked before cosign is checked.

* Update .goreleaser.yml

Co-authored-by: Andrew Suderman <[email protected]>

* Update .goreleaser.yml

Co-authored-by: Andrew Suderman <[email protected]>

---------

Co-authored-by: Andrew Suderman <[email protected]>
Co-authored-by: Andrew Suderman <[email protected]>
  • Loading branch information
3 people committed May 30, 2023
1 parent 5c137b5 commit 47bd6fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ release:
You can verify the signatures of both the checksums.txt file and the published docker images using [cosign](https://github.com/sigstore/cosign).
```
cosign verify-blob checksums.txt --signature=checksums.txt.sig --key https://artifacts.fairwinds.com/cosign.pub
sha256sum -c goldilocks_v{{ .Major }}.{{ .Minor }}.{{ .Patch }}_checksums.txt --ignore-missing
cosign verify-blob goldilocks_v{{ .Major }}.{{ .Minor }}.{{ .Patch }}_checksums.txt --signature=goldilocks_v{{ .Major }}.{{ .Minor }}.{{ .Patch }}_checksums.txt.sig --key https://artifacts.fairwinds.com/cosign.pub
```
```
Expand Down

0 comments on commit 47bd6fc

Please sign in to comment.