Where does docker pull the base image layer?

Hi, I used the following Dockerfile, build an image named as, for example “foo.com/bar/test:1.0”. And I pushed this image to my own docker registry “foo.com/bar”.

FROM alpine:3.12.3 as final
RUN apk add --no-cache git wget curl

Then in a new machine with empty docker cache, when I pull the image, where will docker pull the base image layer? Will docker pull alpine:3.12.3 from docker hub or my own docker registry?

Thank you in advance!