allow user to config public registry url
Merge pull request #9 from rick-li/master

Allow user to config public registry url