Skip to content

Commit

Permalink
Merge pull request eclipse-basyx#321 from aaronzi/main
Browse files Browse the repository at this point in the history
Fixes maven docker plugin config
  • Loading branch information
aaronzi authored Jul 5, 2024
2 parents 77fff90 + 80613b5 commit 5075828
Showing 1 changed file with 24 additions and 6 deletions.
30 changes: 24 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@
<image>
<name>
${docker.namespace}/${docker.image.name}:${docker.image.tag}</name>
<registry>docker.io</registry>
<build>
<contextDir>${project.basedir}</contextDir>
<args>
Expand All @@ -275,8 +276,8 @@
</build>
<run>
<network>
<mode>custom</mode>
<name>basyx-java-server-sdk</name>
<mode>custom</mode>
<name>basyx-java-server-sdk</name>
</network>
</run>
</image>
Expand Down Expand Up @@ -305,10 +306,6 @@
<buildx>
<platforms>
${docker.target.platforms}</platforms>
<attestations>
<provenance>
${docker.provenance}</provenance>
</attestations>
</buildx>
</build>
</image>
Expand Down Expand Up @@ -1243,5 +1240,26 @@
</plugins>
</build>
</profile>
<profile>
<id>docker-push</id>
<build>
<plugins>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<executions>
<execution>
<id>push-docker</id>
<phase>package</phase>
<goals>
<goal>build</goal>
<goal>push</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 5075828

Please sign in to comment.