summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2018-11-01 21:12:30 -0400
committerAlexis de Talhouët <alexis.de_talhouet@bell.ca>2018-11-02 01:13:43 +0000
commit346dab0d6bf95e7d90934a28c774555a182a06f0 (patch)
tree0aa544d3d026e2b7e894320135a3eb9cc2db7195
parent609f193862339c50420553b45f3bb56f9711cf95 (diff)
Build/deploy ControllerBlueprint Dockerimage
Change-Id: Iba3217fe6080f4a1430095ef4c184fe7e9286459 Issue-ID: CCSDK-646 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
-rw-r--r--ms/controllerblueprints/distribution/pom.xml23
1 files changed, 15 insertions, 8 deletions
diff --git a/ms/controllerblueprints/distribution/pom.xml b/ms/controllerblueprints/distribution/pom.xml
index 1ed240fb..6a1e419d 100644
--- a/ms/controllerblueprints/distribution/pom.xml
+++ b/ms/controllerblueprints/distribution/pom.xml
@@ -176,14 +176,21 @@
<verbose>true</verbose>
</configuration>
<executions>
- <execution>
- <id>push-images</id>
- <phase>${docker.build.phase}</phase>
- <goals>
- <goal>build</goal>
- <goal>push</goal>
- </goals>
- </execution>
+ <execution>
+ <id>generate-images</id>
+ <phase>package</phase>
+ <goals>
+ <goal>build</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>push-images</id>
+ <phase>${docker.push.phase}</phase>
+ <goals>
+ <goal>build</goal>
+ <goal>push</goal>
+ </goals>
+ </execution>
</executions>
</plugin>
</plugins>