chore(ci): add cosign signing to community image builds - #5197
chore(ci): add cosign signing to community image builds#5197Fortune-Ndlovu wants to merge 5 commits into
Conversation
Add keyless cosign signing to the multi-arch merge job so that community images at quay.io/rhdh-community/rhdh are signed after the multi-arch manifest is created. This allows consumers to verify image provenance using cosign verify with the GitHub Actions OIDC issuer. Signed-off-by: Fortune Ndlovu <fndlovu@redhat.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5197 +/- ##
==========================================
- Coverage 63.69% 59.96% -3.74%
==========================================
Files 123 111 -12
Lines 2424 2198 -226
Branches 571 546 -25
==========================================
- Hits 1544 1318 -226
Misses 878 878
Partials 2 2
Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
|
/review |
PR Reviewer Guide 🔍Warning
Here are some key observations to aid the review process:
|
Use buildx template for digest retrieval instead of fragile JSON parsing, add credential guard and null-check for graceful fallback. Signed-off-by: Fortune Ndlovu <fndlovu@redhat.com> Signed-off-by: Fortune-Ndlovu <fndlovu@redhat.com>
|
/agentic_review |
Code Review by Qodo
Context used✅ Compliance rules (platform):
46 rules✅ Skills:
e2e-verify-fix, e2e-diagnose-and-fix✅ Cross-repo context Not relevant to this PR:
redhat-developer/rhdh-plugins Not relevant to this PR:
redhat-developer/rhdh-chart Not relevant to this PR:
redhat-developer/rhdh-operator Not relevant to this PR:
redhat-developer/rhdh-local 1.
|
Address review feedback: resolve each tag's digest independently instead of assuming all tags share one digest, and fail the build if digest resolution fails rather than silently skipping signing. Signed-off-by: Fortune Ndlovu <fndlovu@redhat.com> Signed-off-by: Fortune-Ndlovu <fndlovu@redhat.com>
|
The container image build workflow finished with status: |
|
/agentc_review |
d32b50d to
a2d5621
Compare
|
The container image build workflow finished with status: |
The --format '{{println .Digest}}' template field does not exist in
imagetools inspect. Parse the standard output instead.
Signed-off-by: Fortune Ndlovu <fndlovu@redhat.com>
Signed-off-by: Fortune-Ndlovu <fndlovu@redhat.com>
|
The container image build workflow finished with status: |
|



mergejob innext-build-image.yamlquay.io/rhdh-community/rhdhwill be signed after the multi-arch manifest is createdcosign verifyusing the GitHub Actions OIDC issuerResolves: https://redhat.atlassian.net/browse/RHDHBUGS-3541
How to test: https://redhat.atlassian.net/browse/RHDHBUGS-3541?focusedCommentId=17811069
Signed-off-by: Fortune Ndlovu fndlovu@redhat.com