Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure goreleaser uses cosign to sign images #10

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

fproulx-boostsecurity
Copy link
Contributor

@fproulx-boostsecurity fproulx-boostsecurity commented Apr 10, 2024

https://goreleaser.com/customization/ko/?h=kos#signing-ko-manifests

Similar to how Chainguard did it here https://github.com/chainguard-dev/clank/blob/main/.goreleaser.yml#L56-L82

Drive-by:

  • Do not go mod tidy, this can mutate the go.mod, which is detected by Harden Runner , yay!
  • Avoid building i386

Signed-off-by: François Proulx <[email protected]>
@fproulx-boostsecurity fproulx-boostsecurity requested a review from a team as a code owner April 10, 2024 17:54
@fproulx-boostsecurity fproulx-boostsecurity changed the title Make sure goreleser uses cosign to sign images Make sure goreleaser uses cosign to sign images Apr 10, 2024
@fproulx-boostsecurity fproulx-boostsecurity merged commit e0a3835 into main Apr 10, 2024
2 checks passed
@fproulx-boostsecurity fproulx-boostsecurity deleted the cosign-images branch April 10, 2024 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants