Add buildx outputs and build-contexts inputs #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/1-outputs-build-contexts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What changed
Adds first-class
outputsandbuild-contextsinputs so multi-output and monorepo/multi-context buildx workflows no longer needextra-args. Closes #1.outputs: newline list mapped to buildx--output(one exporter spec per line, e.g.type=local,dest=out,type=tar,dest=img.tar).build-contexts: newline list mapped to--build-context name=ref(path, image, git URL, or another stage).build-contextsentries are validated asname=refand reject anything else.action.yml, README (with examples), MIGRATION (theoutputsrow is now first-class instead of pointing atextra-args), and CHANGELOG. Existing inputs unchanged.How it was tested
make lintclean (shellcheck; shfmt/actionlint/yq not installed locally, skipped)make testgreen: new cases cover single value, multiple values, empty = flag omitted, and a malformed build-context rejection