-
Notifications
You must be signed in to change notification settings - Fork 882
Add SLSA Go releaser workflow #2830
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
base: main
Are you sure you want to change the base?
Conversation
This workflow compiles a Go project using a SLSA3 compliant builder and generates a provenance file.
|
Hi @distressedmykah It seems GitHub introduced some time ago own attestation (provenance) solution https://docs.github.com/en/actions/how-tos/secure-your-work/use-artifact-attestations/increase-security-rating. |
|
I did some tests on my fork with GitHub attestation. The release workflow can be modified like this one https://github.com/vk-or/terraform-provider-github/blob/main/.github/workflows/release.yml#L50-L52 Maybe @nickfloyd could share what is preferable way for this repo. |
|
I do not think this workflow (from PR) will work as it is not prevenance generator but whole build to replace Goreleaser. |
|
Finally I could get multiple.intoto.jsonl as result of the run of
to be honest i would prefer GitHub cli and GitHub attestation to prove integrity (more easy to set up Actions and to get verification as many of us have GH CLI installed), instead of suggested SLSA way. |
|
@ViacheslavKudinov Thanks for thinking through this. My preference would be to use the GitHub native solution Something like this in the If we were to make something like this a priority I'd like the change to be a small iteration and low impact to our ci as possible. |
@nickfloyd you are welcome. I will create a PR to address it with Validation could be done by running (attestation was created for |
|
Added another PR #2846 |
This workflow compiles a Go project using a SLSA3 compliant builder and generates a provenance file.
Resolves #ISSUE_NUMBER
Before the change?
After the change?
Pull request checklist
Does this introduce a breaking change?
Please see our docs on breaking changes to help!