summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvagrant <vv770d@att.com>2018-09-18 20:21:31 +0000
committervagrant <vv770d@att.com>2018-09-18 20:26:23 +0000
commita1da81f6798dded45047e95f7a29ee6d98e8f9eb (patch)
tree95d44d751d7a19aeb6fb78fc039dbfef99158ba3
parent3edb59266ac24890044e63b7eb0a02bd690e15b8 (diff)
fix tca-gen2 docker build
Change-Id: I0b343beaf44ce2b2cff1a8bcbe78fab204eace81 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-772
-rw-r--r--dcae-analytics/dcae-analytics-tca-web/pom.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/dcae-analytics/dcae-analytics-tca-web/pom.xml b/dcae-analytics/dcae-analytics-tca-web/pom.xml
index 4cc7e5b..002edcd 100644
--- a/dcae-analytics/dcae-analytics-tca-web/pom.xml
+++ b/dcae-analytics/dcae-analytics-tca-web/pom.xml
@@ -141,9 +141,16 @@
<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>