You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Release: verify chart artifact before signing #295
In .github/workflows/release.yml, the publish job downloads the workflow artifact named chart and attests, signs and releases whatever it contains (dist/*.tgz). Any job of the same run can replace that artifact with the run's token between prepare and publish, so the attested and signed chart need not be the one prepare packaged and checked.
prepare outputs the packaged chart's file name and SHA-256.
publish checks, right after downloading the artifact and before attesting or signing it, that dist/ holds exactly one file, with the expected name and checksum.
prepare uploads the chart with overwrite: true, so that re-running all jobs replaces the chart of the earlier attempt instead of failing on the existing artifact name.
Tests in tests/test_workflows.py pin the check and its order before attestation, signing and release.
The image needs no such change: publish gets its digest as a job output of push (not an artifact) and checks its format.
Activity