summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2018-11-01 21:12:30 -0400
committerAlexis de Talhouët <adetalhouet89@gmail.com>2018-11-01 21:12:30 -0400
commit14f6e0b3dee03fe5d9687e744cdd428409cb5a12 (patch)
tree851cd290412019f7dd38ae1bd3a0b98a7d7cafd8
parent888204b28fb634a56c56adc3ec28c2c7ce1ff4ad (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 498442a25..d3bff091b 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>