fix tca-gen2 docker build 65/67465/2
authorvagrant <vv770d@att.com>
Tue, 18 Sep 2018 20:21:31 +0000 (20:21 +0000)
committervagrant <vv770d@att.com>
Tue, 18 Sep 2018 20:26:23 +0000 (20:26 +0000)
Change-Id: I0b343beaf44ce2b2cff1a8bcbe78fab204eace81
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-772

dcae-analytics/dcae-analytics-tca-web/pom.xml

index 4cc7e5b..002edcd 100644 (file)
                 <artifactId>dockerfile-maven-plugin</artifactId>
                 <executions>
                     <execution>
-                        <id>docker-push</id>
+                        <id>build-image</id>
+                        <phase>package</phase>
                         <goals>
                             <goal>build</goal>
+                        </goals>
+                    </execution>
+                    <execution>
+                        <id>docker-push</id>
+                        <phase>deploy</phase>
+                        <goals>
                             <goal>push</goal>
                         </goals>
                     </execution>