Improve fast-build profile
[sdc.git] / catalog-fe / pom.xml
index a43dd9a..3848d2e 100644 (file)
             <activation>
                 <activeByDefault>false</activeByDefault>
             </activation>
-            <properties>
-                <docker.username>docker</docker.username>
-                <docker.password>docker</docker.password>
-            </properties>
             <build>
                 <plugins>
                     <plugin>
                         <configuration>
                             <verbose>${verbose}</verbose>
                             <apiVersion>${docker.api.version}</apiVersion>
-                            <registry>nexus3.onap.org:10001</registry>
+                            <registry>${docker.registry}</registry>
                             <authConfig>
                                 <pull>
                                     <username>${docker.username}</username>
 
                                 <!-- Build frontend image -->
                                 <image>
-                                    <name>onap/sdc-frontend</name>
+                                    <name>${docker.namespace}/sdc-frontend</name>
                                     <alias>sdc-frontend</alias>
                                     <build>
                                         <cleanup>try</cleanup>
                                 </goals>
                                 <configuration>
                                     <removeAll>true</removeAll>
-                                    <image>onap/sdc-frontend</image>
+                                    <image>${docker.namespace}/sdc-frontend</image>
                                 </configuration>
                             </execution>
 
                                     <goal>push</goal>
                                 </goals>
                                 <configuration>
-                                    <image>onap/sdc-frontend</image>
+                                    <image>${docker.namespace}/sdc-frontend</image>
                                 </configuration>
                             </execution>
                         </executions>