Skip to content

Add a flag to defer errors occurring in matrix build targets #3297

@korbin

Description

@korbin

Description

I have a large matrix build emitting a number of products from multiple sequential 5+ hour build stages.

If one of these matrix targets fails for whatever reason, I'd like the others to run to completion or failure.

Currently, the entire build process dies upon the first error encountered in any individual matrix target, throwing away a bunch of valuable work for other running matrix targets.

I'd like a flag, docker buildx bake --defer-exit (or whatever) that enables this behavior.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions