Is there a way to build and tag all stages of a multistage build? A verbose (and somewhat slow) workaround is to call docker build
several times:
DOC
This is a feature of docker buildx bake which is at last check still considered experimental and I haven't seen a lot of traction for the syntax from the community.
There's certainly been some discussion on adding this functionality in the buildkit issues and I'd recommend following those issues and adding your use case if you'd like to see it added.