https://github.com/docker/metadata-action/pull/370 introduces a regression with Buildx 0.12.0 when merging multiple bake definitions using both cwd:// prefix and local definitions to overrides fields. There is actually a bug in buildx that doesn't respect the order of the bake definitions passed (either through the cli with -f or in the bake action with the files input).
This change removes this prefix while a fix on buildx is being worked on. I will put it back when this is fixed on buildx side and agree on Git context behavior with the bake action in https://github.com/docker/bake-action/pull/181, which "requires" cwd:// but not necessary in the current state.
fixes #380 fixes #381
https://github.com/docker/metadata-action/pull/370 introduces a regression with Buildx 0.12.0 when merging multiple bake definitions using both
cwd://
prefix and local definitions to overrides fields. There is actually a bug in buildx that doesn't respect the order of the bake definitions passed (either through the cli with-f
or in the bake action with thefiles
input).This change removes this prefix while a fix on buildx is being worked on. I will put it back when this is fixed on buildx side and agree on Git context behavior with the bake action in https://github.com/docker/bake-action/pull/181, which "requires"
cwd://
but not necessary in the current state.