Skip to content

Bake should check for empty definition #2095

@crazy-max

Description

@crazy-max

Running bake without any definition in working dir:

$ docker buildx bake
ERROR: failed to find target default
$ docker buildx bake --set *.cache-from=type=gha
ERROR: could not find any target matching '*'

We should instead say that no definition has been provided/found.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions