add meta-labels input#256
Conversation
|
Thanks for looking into this. I think the fix should go the other way. The build workflow already exposes Adding I opened #257 with the corrected change. It removes the stale build pass-throughs and adds test for build using |
does |
Yes indeed, build and bake are not perfectly consistent here. The split comes from the underlying builders. So I don't think adding only We can revisit the API symmetry in a follow-up, where we could deprecate or remove |
That doesn't leave any current way for anyone to apply labels whose configuration relies on the handlebars interpolation by metadata-action, though. |
This adds a
meta-labelsinput which is passed to docker/metadata-action. In fact, the workflows already expects such an input to exist, and is just passing the empty string.This differs from the existing
input.labelsbecause it uses the template expansion on labels performed in docker/metadata-action.Fixes #255