summaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-01-28 22:31:12 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-01-28 22:31:12 +0100
commitf7bf7c44664a9f48a8839a961680f17314dcae6e (patch)
tree2acc86ab2c38cfe7fc57033c6bd7fa67531ce13e /pom.xml
parent2f5374598fbdfbf5ccdf44930706133bc7986e83 (diff)
Maven, Gradle: Build Docker image.
Change-Id: Ibf90cd31af67f847d67bd34fe1a8d73d49550088
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 3fcdc0d..a20aed5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,6 +17,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<compiler-plugin.version>3.8.1</compiler-plugin.version>
+ <dockerfile-plugin.version>1.4.13</dockerfile-plugin.version>
<quarkus-plugin.version>1.2.0.Final</quarkus-plugin.version>
<surefire-plugin.version>3.0.0-M4</surefire-plugin.version>
<spotless-plugin.version>1.26.1</spotless-plugin.version>
@@ -291,6 +292,27 @@
</java>
</configuration>
</plugin>
+
+ <plugin>
+ <groupId>com.spotify</groupId>
+ <artifactId>dockerfile-maven-plugin</artifactId>
+ <version>${dockerfile-plugin.version}</version>
+ <executions>
+ <execution>
+ <id>default</id>
+ <goals>
+ <goal>build</goal>
+ <goal>push</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <dockerfile>src/main/docker/Dockerfile.jvm</dockerfile>
+ <repository>docker.benkard.de/mulk/mulkcms2</repository>
+ <tag>${project.version}</tag>
+ </configuration>
+ </plugin>
+
</plugins>
<resources>