add support for signing image and SBOM#24
Open
ramantehlan wants to merge 3 commits into
Open
Conversation
Signed-off-by: Raman Tehlan <ramantehlan@gmail.com>
Wire jobs.build.outputs.digest through on.workflow_call.outputs so caller workflows can read needs.<job>.outputs.digest as documented. Co-authored-by: Raman Tehlan <ramantehlan@gmail.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit cb84f88. Configure here.
anchore/sbom-action/download-syft exposes the binary via the cmd output rather than relying on PATH. Give the install step an id and invoke that path so enable_sbom does not fail with command not found. Co-authored-by: Raman Tehlan <ramantehlan@gmail.com>
DeeAjayi
approved these changes
Jul 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Note
Medium Risk
Changes affect shared CI used by many repos; misconfigured OIDC permissions or registry cosign support could break opt-in signing/SBOM steps without affecting default builds.
Overview
Extends the reusable
build.ymlimage pipeline with optional supply-chain attestations after push: callers can turn on keyless cosign signing (enable_sign) and Syft-generated SPDX SBOM attestations (enable_sbom), both targeting the pushed manifest by digest for JFrog and/or Public ECR when those registries are enabled.The workflow now surfaces the image digest as a reusable output (from the build step) so downstream jobs can pin or verify
repo@sha256:…. New post-push steps install cosign/Syft when needed, fail fast on an empty digest, and document that callers must grantid-token: writefor OIDC keyless signing.README is updated with the new inputs, the
digestoutput, usage with permissions, and examplecosign verify/ attestation commands.Reviewed by Cursor Bugbot for commit 724aa16. Bugbot is set up for automated code reviews on this repo. Configure here.