build-push-action icon indicating copy to clipboard operation
build-push-action copied to clipboard

readme says buildx is not required, but action fails if its not there

Open rethab opened this issue 4 years ago • 2 comments

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 :)

rethab avatar Mar 02 '22 10:03 rethab

If you talk about this section in the README, it says setup-buildx action is not required. Not buildx itself.

crazy-max avatar Mar 14 '22 19:03 crazy-max

@crazy-max refer to https://github.com/docker/setup-buildx-action , seems this can be skipped by setting install driver

beebird avatar Apr 19 '23 09:04 beebird