golangci-lint
golangci-lint copied to clipboard
feat: sign release artifacts with cosign
trafficstars
Sample results in my fork (do not mind the changelog, scroll down to assets): https://github.com/scop/golangci-lint/releases/tag/v0.0.0
Fixes #2462
Rebased and switched to the new bundle format.
I don't forget this PR, but each time I look at it, I'm stuck with the same problems/questions.
- Adding a new element inside the release process introduces a new risk of release failure.
- The goreleaser configuration inside this PR is different than the suggested one, I don't know why, and I don't find clear references with this configuration.
- https://goreleaser.com/customization/binary_sign/?h=cosign#signing-with-cosign
- https://github.com/goreleaser/example-supply-chain/blob/main/.github/workflows/release.yml
- https://github.com/sigstore/cosign