bake-action icon indicating copy to clipboard operation
bake-action copied to clipboard

Add bake metadata JSON output

Open jnewland opened this issue 2 years ago • 2 comments

Description

Making the JSON printed in the "Bake definition" portion of this Action's output available as an step output would facilitate the use of this information in Actions job summaries. Practically, I'm hoping to use this information to explain the context dependency tree present in a bake manifest to contributors so that they can understand how their change may impact other downstream images.

jnewland avatar Nov 28 '23 15:11 jnewland

This issue looks complete in v6 that has a metadata output, but it would be helpful if it was available as a file, in addition to or rather than an environment variable. I find that a large multi-stage build with provenance enabled it gets quite large, and I have to first write it to a file to do much with it.

reardonm avatar May 16 '25 18:05 reardonm

I find that a large multi-stage build with provenance enabled it gets quite large, and I have to first write it to a file to do much with it.

Indeed, I have ran into the same issue, reported in https://github.com/docker/bake-action/issues/239

danielhollas avatar Dec 11 '25 20:12 danielhollas