VOL-612 - rename images to work better with public repository

Change-Id: I9679544987c3a08d0001928cfbc39d710a6c1eae
diff --git a/portainer/buildPortainer.sh b/portainer/buildPortainer.sh
index 57c503f..6d38763 100755
--- a/portainer/buildPortainer.sh
+++ b/portainer/buildPortainer.sh
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+TAG=${TAG:-latest}
+
 docker run -d --name pbuild -p 9999:9000 portainer/portainer:1.15.2
 rm -fr tmp_portainer
 mkdir tmp_portainer
@@ -21,7 +23,7 @@
 s~"images/logo.png"~"docker/images/logo.png"~
 ' tmp_portainer/index.html
 
-docker build -t voltha/portainer -f docker/Dockerfile.portainer .
+docker build -t ${REGISTRY}${REPOSITORY}voltha-portainer:${TAG} -f docker/Dockerfile.portainer .
 rm -fr tmp_portainer
 docker stop pbuild
 docker rm -f pbuild