aboutsummaryrefslogtreecommitdiffstats
path: root/ms/neng/pom.xml
diff options
context:
space:
mode:
authorBT2983 <BT2983@att.com>2018-09-18 09:27:18 -0600
committerBT2983 <BT2983@att.com>2018-09-18 09:27:18 -0600
commit758bc233c125d2ffec0bf16618747af747aafa45 (patch)
tree78ff872d24a469cbce477ad67957bb47eef8db27 /ms/neng/pom.xml
parenta229c688f6a5f52dd5b6073dc1166751ed381161 (diff)
naming ms - docker updates.
Added exec phase, and using lighter docker base image. Change-Id: I020c6e88408f4d17fe214ee7ac8f960230ad4980 Issue-ID: CCSDK-342 Signed-off-by: BT2983 <BT2983@att.com>
Diffstat (limited to 'ms/neng/pom.xml')
-rw-r--r--ms/neng/pom.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/ms/neng/pom.xml b/ms/neng/pom.xml
index bcc5d0cd..610d7ed6 100644
--- a/ms/neng/pom.xml
+++ b/ms/neng/pom.xml
@@ -56,6 +56,7 @@
<ccsdk.distribution.version>0.2.4</ccsdk.distribution.version>
<docker.buildArg.https_proxy>${https_proxy}</docker.buildArg.https_proxy>
<docker.push.phase>deploy</docker.push.phase>
+ <docker.build.phase>deploy</docker.build.phase>
<docker.verbose>true</docker.verbose>
<ccsdk.project.version>${project.version}</ccsdk.project.version>
</properties>
@@ -121,6 +122,16 @@
<groupId>com.spotify</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.4.11</version>
+ <executions>
+ <execution>
+ <id>push-images</id>
+ <phase>${docker.build.phase}</phase>
+ <goals>
+ <goal>build</goal>
+ <goal>push</goal>
+ </goals>
+ </execution>
+ </executions>
<configuration>
<imageName>${docker.registry}/onap/ccsdk-apps-ms-neng:${project.version}</imageName>
<dockerDirectory>src/main/docker</dockerDirectory>