Skip to content

build/bake: fail fast on dependency signature verification errors#252

Open
crazy-max wants to merge 1 commit into
docker:mainfrom
crazy-max:fix-dependency-signature-verification
Open

build/bake: fail fast on dependency signature verification errors#252
crazy-max wants to merge 1 commit into
docker:mainfrom
crazy-max:fix-dependency-signature-verification

Conversation

@crazy-max

Copy link
Copy Markdown
Member

relates to https://github.com/crazy-max/xgo/actions/runs/29336003773/job/87096835413?pr=198#step:4:1

image image

Dependency signature verification now reports failures after the log group closes so the error is visible in the workflow step summary.

The verification loop now rethrows the first failure instead of only marking the action as failed, which stops later dependency checks from running after an invalid signature result.

Also looking at the error:

Error: Error: Cosign verify command failed with: error during command execution: trusted root is required when using new bundle format

It seems cosign is not able to download tuf (probable flaky network). This could be solved with docker/actions-toolkit#1133.

@crazy-max crazy-max requested a review from tonistiigi July 14, 2026 13:45
@crazy-max crazy-max requested a review from a team as a code owner July 14, 2026 13:45
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max force-pushed the fix-dependency-signature-verification branch from cf55b43 to 1a53399 Compare July 14, 2026 14:39
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