Skip to content

ci(helm): sign published charts with keyless cosign#359

Merged
Iamdavidonuh merged 1 commit into
mainfrom
feat/cosign-sign-charts
Jul 5, 2026
Merged

ci(helm): sign published charts with keyless cosign#359
Iamdavidonuh merged 1 commit into
mainfrom
feat/cosign-sign-charts

Conversation

@Iamdavidonuh

Copy link
Copy Markdown
Collaborator

Adds keyless cosign signing to charts-release.yml so published charts earn the ArtifactHub Signed badge.

  • permissions: id-token: write — GitHub OIDC for keyless signing (no keys to manage).
  • sigstore/cosign-installer + cosign login ghcr.io.
  • After each helm push, capture the digest and cosign sign --yes <chart>@<digest>.

Signatures are stored in the same public ghcr package, so ArtifactHub detects them automatically.

Validated: YAML parses, embedded shell passes bash -n. Takes effect on the next chart publish (i.e. the next charts/* version bump or a manual workflow_dispatch) — existing 0.1.1 artifacts stay unsigned until then.

Adds OIDC id-token, cosign install/login, and sign-by-digest after each helm push — earns the ArtifactHub Signed badge.
@Iamdavidonuh Iamdavidonuh merged commit 432ac0e into main Jul 5, 2026
@Iamdavidonuh Iamdavidonuh deleted the feat/cosign-sign-charts branch July 5, 2026 18:28
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.

2 participants