buildx icon indicating copy to clipboard operation
buildx copied to clipboard

bake --set does not allow multiple tags, cache-to or cache-from

Open MaximeWeyl opened this issue 3 years ago • 1 comments

builx build can take several tags, cache-to or cache-from arguments. docker-bake.hcl allows this too

but it does not seam possible to override them properly with buildx bake --set which is intended for single arguments, from my understanding. It would be nice to be able to override only one given arg, delete an arg, or append an arg.

MaximeWeyl avatar Jan 04 '22 13:01 MaximeWeyl

You can set multiple values by multiple set I believe. But yes, there is no append vs replace semantics. There is a proposal to add += separator.

tonistiigi avatar Jan 04 '22 18:01 tonistiigi