Skip to content

Add cosign keyless signing to Docker image release#5

Merged
haasonsaas merged 1 commit intomainfrom
feat/cosign-image-signing
Mar 9, 2026
Merged

Add cosign keyless signing to Docker image release#5
haasonsaas merged 1 commit intomainfrom
feat/cosign-image-signing

Conversation

@haasonsaas
Copy link
Collaborator

@haasonsaas haasonsaas commented Mar 9, 2026

Summary

  • Adds Sigstore cosign keyless signing to the Docker image build step in the release workflow
  • Adds id-token: write permission for GitHub Actions OIDC token (required for keyless signing)
  • Signs ghcr.io/haasonsaas/diffscope after push using the build digest

This enables Kyverno image signature verification in the homelab-k8s cluster (see haasonsaas/homelab-k8s#455).

Test plan

  • Next tag push triggers release workflow with signing step
  • cosign verify succeeds against the signed image

🤖 Generated with Claude Code


Open with Devin

Signs the container image after push using Sigstore keyless signing
(GitHub Actions OIDC). This enables Kyverno signature verification
in the homelab-k8s cluster.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@haasonsaas haasonsaas merged commit 1d13325 into main Mar 9, 2026
4 of 5 checks passed
@haasonsaas haasonsaas deleted the feat/cosign-image-signing branch March 9, 2026 03:34
Copy link

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

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.

1 participant