diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-01-28 22:31:12 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-01-28 22:31:12 +0100 |
commit | f7bf7c44664a9f48a8839a961680f17314dcae6e (patch) | |
tree | 2acc86ab2c38cfe7fc57033c6bd7fa67531ce13e /pom.xml | |
parent | 2f5374598fbdfbf5ccdf44930706133bc7986e83 (diff) |
Maven, Gradle: Build Docker image.
Change-Id: Ibf90cd31af67f847d67bd34fe1a8d73d49550088
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -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> |