Update to use new docker registry NewEndpoint constructor

Signed-off-by: Matthew Sykes <matthew.sykes@gmail.com>