Adding docker registery to pom
[aai/search-data-service.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 43391af..79bbfca 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -285,17 +285,10 @@ limitations under the License.
                 <groupId>com.spotify</groupId>
                 <artifactId>docker-maven-plugin</artifactId>
                 <version>0.4.11</version>
-                <dependencies>
-                    <dependency>
-                        <groupId>com.github.jnr</groupId>
-                        <artifactId>jnr-unixsocket</artifactId>
-                        <version>0.13</version>
-                    </dependency>
-                </dependencies>
                 <configuration>
                     <verbose>true</verbose>
                     <serverId>docker-hub</serverId>
-                    <imageName>onap/${project.artifactId}</imageName>
+                    <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
                     <dockerDirectory>${docker.location}</dockerDirectory>
                     <imageTags>
                         <imageTag>latest</imageTag>