This is an automated email from the ASF dual-hosted git repository. zixuan pushed a commit to branch branch-as-3.0 in repository https://gitbox.apache.org/repos/asf/pulsar.git
commit e4194b3c139d58cb57bcbc936faa9e1b47c814d1 Author: Zixuan Liu <[email protected]> AuthorDate: Mon Jul 29 19:00:35 2024 +0800 [improve][build] Upgrade docker-maven-plugin to 0.45.0 (#23091) Signed-off-by: Zixuan Liu <[email protected]> (cherry picked from commit 76ed555e7e5ad60247e32fd2624fdb39ca537204) Signed-off-by: Zixuan Liu <[email protected]> --- docker/pom.xml | 7 +++++++ docker/pulsar-all/pom.xml | 26 +------------------------- docker/pulsar/pom.xml | 26 +------------------------- pom.xml | 2 +- 4 files changed, 10 insertions(+), 51 deletions(-) diff --git a/docker/pom.xml b/docker/pom.xml index cf3fd1f3c33..657ee171dbe 100644 --- a/docker/pom.xml +++ b/docker/pom.xml @@ -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> diff --git a/docker/pulsar-all/pom.xml b/docker/pulsar-all/pom.xml index 93093414c39..48a0f0e8ac0 100644 --- a/docker/pulsar-all/pom.xml +++ b/docker/pulsar-all/pom.xml @@ -145,7 +145,7 @@ <phase>package</phase> <goals> <goal>build</goal> - <goal>tag</goal> + <goal>push</goal> </goals> <configuration> <images> @@ -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> diff --git a/docker/pulsar/pom.xml b/docker/pulsar/pom.xml index ed107904c90..3da5705db18 100644 --- a/docker/pulsar/pom.xml +++ b/docker/pulsar/pom.xml @@ -72,7 +72,7 @@ <phase>package</phase> <goals> <goal>build</goal> - <goal>tag</goal> + <goal>push</goal> </goals> <configuration> <images> @@ -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> diff --git a/pom.xml b/pom.xml index c1365e6a4bf..eae0105f395 100644 --- a/pom.xml +++ b/pom.xml @@ -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>
