Skip to content

Commit

Permalink
[improve][build] Upgrade docker-maven-plugin to 0.45.0 (apache#23091)
Browse files Browse the repository at this point in the history
Signed-off-by: Zixuan Liu <[email protected]>

(cherry picked from commit 76ed555)
Signed-off-by: Zixuan Liu <[email protected]>
  • Loading branch information
nodece committed Oct 23, 2024
1 parent ce8928c commit 7a2da2d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 51 deletions.
7 changes: 7 additions & 0 deletions docker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,12 @@
</plugins>
</build>
</profile>
<profile>
<id>docker-push</id>
<properties>
<docker.skip.push>false</docker.skip.push>
<docker.platforms>linux/amd64,linux/arm64</docker.platforms>
</properties>
</profile>
</profiles>
</project>
26 changes: 1 addition & 25 deletions docker/pulsar-all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
<phase>package</phase>
<goals>
<goal>build</goal>
<goal>tag</goal>
<goal>push</goal>
</goals>
<configuration>
<images>
Expand Down Expand Up @@ -177,29 +177,5 @@
</plugins>
</build>
</profile>

<profile>
<id>docker-push</id>
<build>
<plugins>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<executions>
<execution>
<id>default</id>
<phase>package</phase>
<goals>
<goal>build</goal>
<goal>tag</goal>
<goal>push</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

</profiles>
</project>
26 changes: 1 addition & 25 deletions docker/pulsar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<phase>package</phase>
<goals>
<goal>build</goal>
<goal>tag</goal>
<goal>push</goal>
</goals>
<configuration>
<images>
Expand Down Expand Up @@ -123,29 +123,5 @@
</plugins>
</build>
</profile>

<profile>
<id>docker-push</id>
<build>
<plugins>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<executions>
<execution>
<id>default</id>
<phase>package</phase>
<goals>
<goal>build</goal>
<goal>tag</goal>
<goal>push</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

</profiles>
</project>
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ flexible messaging model and an intuitive client API.</description>
<reflections.version>0.10.2</reflections.version>
<swagger.version>1.6.10</swagger.version>
<puppycrawl.checkstyle.version>10.14.2</puppycrawl.checkstyle.version>
<docker-maven.version>0.43.3</docker-maven.version>
<docker-maven.version>0.45.0</docker-maven.version>
<docker.verbose>true</docker.verbose>
<typetools.version>0.5.0</typetools.version>
<byte-buddy.version>1.14.12</byte-buddy.version>
Expand Down

0 comments on commit 7a2da2d

Please sign in to comment.