build-push-action
build-push-action copied to clipboard
readme says buildx is not required, but action fails if its not there
this is just a small docs issue so I took the liberty and removed the official bug template
In the readme, it says on buildx:
This is not required but recommended
But in the code, there's this condition:
if (!(await buildx.isAvailable())) {
core.setFailed(`Docker buildx is required. See https://github.com/docker/setup-buildx-action to set up buildx.`);
return;
}
I think it would be good to update the readme and make it clear that buildx is in fact required :)
If you talk about this section in the README, it says setup-buildx action is not required. Not buildx itself.
@crazy-max refer to https://github.com/docker/setup-buildx-action , seems this can be skipped by setting install driver