You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
381dc8fb43
Addresses https://github.com/docker/setup-buildx-action/issues/45 Simple repro: ``` $ buildx create --platform linux/amd64 --use $ buildx build - <<EOF from scratch EOF ``` Since https://github.com/docker/buildx/pull/370 a `platform` driver-opt was automatically inserted with the value specified by `--platform` flag on regardless of the type of driver, even though it was only used in the kubernetes driver. However, because the docker-container driver is pedantic about the options being passed, it errored out. Another side-effect I suspect is that with the kubernetes driver it was now possible to specify the platforms in two different ways: `--driver-opt platform=...` and `--platform`. This patch reverts completely the `platform` driver-opt and instead ensures the platforms information is passed onto the kubernetes driver via variables. Signed-off-by: Tibor Vass <tibor@docker.com> |
4 years ago | |
---|---|---|
.. | ||
imagetools | 5 years ago | |
bake.go | 4 years ago | |
build.go | 4 years ago | |
create.go | 4 years ago | |
diskusage.go | 4 years ago | |
inspect.go | 4 years ago | |
install.go | 6 years ago | |
ls.go | 5 years ago | |
prune.go | 4 years ago | |
rm.go | 4 years ago | |
root.go | 5 years ago | |
stop.go | 5 years ago | |
uninstall.go | 6 years ago | |
use.go | 5 years ago | |
util.go | 4 years ago | |
version.go | 6 years ago |