-
Notifications
You must be signed in to change notification settings - Fork 34
chore(ci): Generate SLSA attestation #1955
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
Conversation
Signed-off-by: Javier Rodriguez <javier@chainloop.dev>
Signed-off-by: Javier Rodriguez <javier@chainloop.dev>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something minor, thanks @javirln!
@@ -132,6 +134,43 @@ jobs: | |||
chainloop attestation add --name $material_name --value $entry --kind ARTIFACT --attestation-id ${{ env.ATTESTATION_ID }} | |||
done | |||
|
|||
- name: Calculate checksum for SLSA attestation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd add a link explaining why we need to do this. Pointing to the issue that mentioned that only one container image is possible at the moment
cc/ @gr0 |
.github/workflows/release.yaml
Outdated
echo "$digest $name" >> $checksum_file | ||
done | ||
|
||
- uses: actions/attest-build-provenance@v2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you pin it?
Signed-off-by: Javier Rodriguez <javier@chainloop.dev>
Signed-off-by: Javier Rodriguez <javier@chainloop.dev>
This patch generates a SLSA attestation that includes the binaries and Docker images produced by GoReleaser. The final attestation is derived from a checksum file with the following format:
Additionally the output from the SLSA attestation output is included in the Chainloop's attestation.