diff options
author | Stone, Avi (as206k) <as206k@att.com> | 2018-05-17 14:57:16 +0300 |
---|---|---|
committer | Stone, Avi (as206k) <as206k@att.com> | 2018-05-17 14:57:16 +0300 |
commit | e59dd9554fa32e702d23d8ee1531953758fa9a8d (patch) | |
tree | ff22412b938b501027e8f6233716a296b73009bc /dcaedt_be | |
parent | c936da8efa5f13ebfc2f1218ffd9eb88dcc79023 (diff) |
Fix pom for docker files
Fix poms for docker files so the docker job would run
Change-Id: Ie14e334e1c88689a090c4d5c1ed5da469df85e9b
Issue-ID: SDC-1339
Signed-off-by: Stone, Avi (as206k) <as206k@att.com>
Diffstat (limited to 'dcaedt_be')
-rw-r--r-- | dcaedt_be/pom.xml | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/dcaedt_be/pom.xml b/dcaedt_be/pom.xml index ee6e5ab..2bd614a 100644 --- a/dcaedt_be/pom.xml +++ b/dcaedt_be/pom.xml @@ -182,6 +182,61 @@ </execution> </executions> </plugin> + <plugin> + <groupId>io.fabric8</groupId> + <artifactId>docker-maven-plugin</artifactId> + <version>0.23.0</version> + <configuration> + <verbose>true</verbose> + <apiVersion>1.23</apiVersion> + <images> + <!-- Build backend image --> + <image> + <name>onap/dcae-be</name> + <alias>dcae-be</alias> + <build> + <cleanup>try</cleanup> + <dockerFileDir>${project.parent.basedir}/docker/docker_be</dockerFileDir> + <tags> + <tag>${docker.tag}</tag> + <tag>${docker.latest.tag}</tag> + <tag>${docker.staging.tag}</tag> + </tags> + </build> + </image> + </images> + </configuration> + <executions> + <execution> + <id>clean-images</id> + <phase>pre-clean</phase> + <goals> + <goal>remove</goal> + </goals> + <configuration> + <removeAll>true</removeAll> + <image>onap/dcae-be</image> + </configuration> + </execution> + <execution> + <id>generate-images</id> + <phase>package</phase> + <goals> + <goal>build</goal> + </goals> + </execution> + <execution> + <id>push-images</id> + <phase>deploy</phase> + <goals> + <goal>push</goal> + </goals> + <configuration> + <image>onap/dcae-be</image> + </configuration> + </execution> + </executions> + </plugin> </plugins> </build> </profile> |