Skip to content

Publish Helm plugin provenance artifacts in release pipeline#1006

Draft
Copilot wants to merge 2 commits into
masterfrom
copilot/add-provenance-artifacts-to-releases
Draft

Publish Helm plugin provenance artifacts in release pipeline#1006
Copilot wants to merge 2 commits into
masterfrom
copilot/add-provenance-artifacts-to-releases

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 5, 2026

Helm v4 verifies plugin provenance by default, but this repo only published .tgz plugin archives, causing installs to fail unless verification was explicitly disabled. This PR adds signed .prov artifacts to releases and updates install guidance accordingly.

  • Release artifact signing (.goreleaser.yml)

    • Added a signs block for archive artifacts.
    • Generates Helm-compatible provenance files as ${artifact}.prov.
    • Signs a provenance message containing plugin.yaml metadata + files:<archive>=sha256:<digest> using GPG (clear-signed output Helm can verify).
  • Release workflow secret wiring (.github/workflows/release.yaml)

    • Imports the release signing key for tagged releases.
    • Exposes GPG_FINGERPRINT and GPG_PASSPHRASE to GoReleaser.
    • Skips signing during snapshot/non-tag runs (--skip=sign) so CI snapshots remain runnable without release secrets.
  • Docs update (README.md)

    • Removed the Helm 4 --verify=false workaround instruction.
    • Replaced with provenance-aware wording indicating .prov artifacts are published with releases.
signs:
  - artifacts: archive
    signature: "${artifact}.prov"

Copilot AI linked an issue Jun 5, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Add provenance artifacts to releases Publish Helm plugin provenance artifacts in release pipeline Jun 5, 2026
Copilot AI requested a review from yxxhero June 5, 2026 10:27
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.

Add Provenance artifacts to releases

2 participants