allow user to config public registry url