diff options
author | 2017-09-01 04:16:06 +0000 | |
---|---|---|
committer | 2017-09-01 04:16:06 +0000 | |
commit | 7704ff15805033ec9446f99a05927de54b08588f (patch) | |
tree | 2d343797881f0689f67918542b08b68d9c6fa62f | |
parent | cb675c503a8afc69128f0e64ece08cd037522c75 (diff) | |
parent | 2636b73b5da8e1b44b226bc964894bbbd367d939 (diff) |
Merge "Update pom file of vfc-nfvo-lcm"
-rw-r--r-- | pom.xml | 47 |
1 files changed, 47 insertions, 0 deletions
@@ -49,4 +49,51 @@ </plugin> </plugins> </build> + <profiles> + <profile> + <id>docker</id> + <build> + <plugins> + <plugin> + <groupId>io.fabric8</groupId> + <artifactId>docker-maven-plugin</artifactId> + <version>0.16.5</version> + <inherited>false</inherited> + <configuration> + <images> + <image> + <name>onap/vfc/nslcm</name> + <build> + <cleanup>try</cleanup> + <dockerFileDir>${basedir}/docker/</dockerFileDir> + <dockerFile>${basedir}/docker/Dockerfile</dockerFile> + <tags> + <tag>${project.version}-STAGING-latest</tag> + </tags> + </build> + </image> + </images> + </configuration> + <executions> + <execution> + <id>generate-images</id> + <phase>package</phase> + <goals> + <goal>build</goal> + </goals> + </execution> + <execution> + <id>push-images</id> + <phase>deploy</phase> + <goals> + <goal>build</goal> + <goal>push</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> |