Skip to content

ci: add cosign keyless signing for container images#119

Merged
jlebon merged 3 commits intocoreos:mainfrom
jlebon:pr/cosign
May 4, 2026
Merged

ci: add cosign keyless signing for container images#119
jlebon merged 3 commits intocoreos:mainfrom
jlebon:pr/cosign

Conversation

@jlebon
Copy link
Copy Markdown
Member

@jlebon jlebon commented May 3, 2026

Use Sigstore cosign with GitHub Actions OIDC identity tokens to sign
container images pushed to both ghcr.io and quay.io. This allows users
to verify that images were built by the CI pipeline without requiring
any private key management.

Closes: #117

Assisted-by: Pi (Claude Opus 4.6)

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces README-dev.md as the primary documentation source for the development version of chunkah and updates the release automation in tools/release.py to generate the stable README.md by stripping development-specific headers. Feedback was provided to improve the robustness of the README generation process by using re.subn to ensure the development header is correctly identified and removed exactly once during the release process.

Comment thread tools/release.py Outdated
jlebon added 3 commits May 3, 2026 19:25
Our README right now is the main documentation for this project. As new
features land, I want to be able to also update the README. But I don't
want users to get confused by unreleased features.

Let's add a dedicated README for development, and then it gets synced
over to the main README at release time.

Assisted-by: Pi (Claude Opus 4.6)
Use Sigstore cosign with GitHub Actions OIDC identity tokens to sign
container images pushed to quay.io. This allows users to verify that
images were built by the CI pipeline without requiring any private key
management.

Closes: coreos#117

Assisted-by: Pi (Claude Opus 4.6)
@jlebon jlebon enabled auto-merge (rebase) May 4, 2026 01:54
@jlebon jlebon merged commit 1471a37 into coreos:main May 4, 2026
10 checks passed
jlebon added a commit that referenced this pull request May 4, 2026
I had switch to `--certificate-github-workflow-repository` at
the last minute in #119, but hadn't tested it properly. It's only
an additional filter in cosign v3 which otherwise still requires
`--certificate-identity` or `--certificate-identity-regexp`. That
makes it less useful since it's redundant with those so let's just use
`--certificate-identity-regexp'.

Assisted-by: Pi (Claude Opus 4.6)
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.

Supply-chain security: Sign Chunkah images using Cosign

1 participant