This approach is akin to the prod server pulling an image from a registry. The op method is push based.
For 3rd party images like `postgres`, etc., then yes it will pull those from DockerHub or the registry you configure.
But in this method you push the source code, not a finished docker image, to the server.
I am now convinced that this is a hidden docker feature that too many people aren't aware of and do not understand.