Skip to content

Commit

Permalink
Allow deploy docker image from mvn
Browse files Browse the repository at this point in the history
  • Loading branch information
PhantomYdn committed Sep 12, 2021
1 parent 268de47 commit 639d3b0
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions oposter-war/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,36 @@
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.7</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>com.spotify</groupId>
<artifactId>dockerfile-maven-plugin</artifactId>
<version>1.4.10</version>
<executions>
<execution>
<id>default</id>
<phase>deploy</phase>
<goals>
<goal>build</goal>
<goal>push</goal>
</goals>
</execution>
</executions>
<configuration>
<repository>orienteer/oposter</repository>
<tag>latest</tag>
<contextDirectory>..</contextDirectory>
<dockerfile>../Dockerfile.mvn</dockerfile>
<useMavenSettingsForAuth>true</useMavenSettingsForAuth>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
Expand Down

0 comments on commit 639d3b0

Please sign in to comment.