aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 894f36e..60a479a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -57,6 +57,7 @@
<snakeyamle.version>1.18</snakeyamle.version>
<jacoco.version>0.7.9</jacoco.version>
<onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
+ <docker.location>${basedir}/target</docker.location>
</properties>
<dependencies>
@@ -289,6 +290,21 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>com.spotify</groupId>
+ <artifactId>docker-maven-plugin</artifactId>
+ <version>0.4.11</version>
+ <configuration>
+ <verbose>true</verbose>
+ <serverId>docker-hub</serverId>
+ <imageName>${docker.push.registry}/openecomp/${project.artifactId}</imageName>
+ <dockerDirectory>${docker.location}</dockerDirectory>
+ <imageTags>
+ <imageTag>latest</imageTag>
+ </imageTags>
+ <forceTags>true</forceTags>
+ </configuration>
+ </plugin>
<!-- license plugin -->
<plugin>