Added registry option

With this change is possible to choose which registry publish to.