Skip to content

task checks fails with "index annotations not supported for single platform export" #261

Description

@NiccoloFei

In --check mode, buildx only evaluates a single platform, but our bakefile carries index,manifest: annotations (and SBOM/provenance attestations) that require a multi-platform image index.
The export validation then rejects the index annotations and fails the build with:

failed to solve: index annotations not supported for single platform export

A real task bake works instead because it builds both platforms and creates an index manifest, so in that case the index annotations are valid.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions