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

ci: Generate and push provenance attestations for charts #564

Merged
merged 2 commits into from
Oct 24, 2024

Conversation

viccuad
Copy link
Member

@viccuad viccuad commented Oct 23, 2024

Description

Closes #565.

Use actions/attest-build-provenance to generate and upload the provenance attestation as an OCI artifact layer.

Since we need the digest of each helm chart OCI artifact so we can push the attestation, unroll the for helm push that existed before. Decided to duplicate those bash scripts instead of creating a new script and makefile target because they basically set the GITHUB_ENV vars and call helm push and cosign with them.

Test

Successful run: https://github.com/viccuad/helm-charts/actions/runs/11484306246/job/31961771613
https://github.com/viccuad/helm-charts/attestations

Additional Information

Tradeoff

Potential improvement

@viccuad viccuad requested a review from a team as a code owner October 23, 2024 16:41
@viccuad viccuad mentioned this pull request Oct 23, 2024
Copy link
Member

@flavio flavio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the improvement!

@viccuad viccuad merged commit 0f9fa73 into kubewarden:main Oct 24, 2024
4 checks passed
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.

Ensure SLSA Lvl 3 for helm chart OCI artifacts
2 participants