I ran into this problem on Windows 11 using the latest version of Docker Desktop.
Sprinkle the magic (no quotes) '--provenance false' on your build and you only get the image you need.
The full command is this
docker build --platform linux/amd64 --provenance false -t docker-image:test .