This is an automated email from the ASF dual-hosted git repository.
zixuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new cab92f01649 [revert] "[improve][build] Build docker image only once
when pushing" (#25203)
cab92f01649 is described below
commit cab92f0164947e3cbb0da1a014951561f1599add
Author: Zixuan Liu <[email protected]>
AuthorDate: Tue Feb 3 18:07:56 2026 +0800
[revert] "[improve][build] Build docker image only once when pushing"
(#25203)
---
docker/pulsar-all/pom.xml | 4 ++--
docker/pulsar/pom.xml | 4 ++--
pom.xml | 1 -
3 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/docker/pulsar-all/pom.xml b/docker/pulsar-all/pom.xml
index e5c2dc790b9..bd59bbeac9a 100644
--- a/docker/pulsar-all/pom.xml
+++ b/docker/pulsar-all/pom.xml
@@ -152,7 +152,8 @@
<id>default</id>
<phase>package</phase>
<goals>
- <goal>${docker.goal}</goal>
+ <goal>build</goal>
+ <goal>push</goal>
</goals>
<configuration>
<images>
@@ -195,7 +196,6 @@
<profile>
<id>docker-push</id>
<properties>
- <docker.goal>push</docker.goal>
<docker.skip.push>false</docker.skip.push>
<docker.platforms>linux/amd64,linux/arm64</docker.platforms>
</properties>
diff --git a/docker/pulsar/pom.xml b/docker/pulsar/pom.xml
index 26dc0058259..72ab40852fb 100644
--- a/docker/pulsar/pom.xml
+++ b/docker/pulsar/pom.xml
@@ -75,7 +75,8 @@
<id>default</id>
<phase>package</phase>
<goals>
- <goal>${docker.goal}</goal>
+ <goal>build</goal>
+ <goal>push</goal>
</goals>
<configuration>
<images>
@@ -136,7 +137,6 @@
<profile>
<id>docker-push</id>
<properties>
- <docker.goal>push</docker.goal>
<docker.skip.push>false</docker.skip.push>
<docker.skip.tag>true</docker.skip.tag>
<docker.platforms>linux/amd64,linux/arm64</docker.platforms>
diff --git a/pom.xml b/pom.xml
index 00dec4700c3..a285b52211f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -101,7 +101,6 @@ flexible messaging model and an intuitive client
API.</description>
To create multi-arch image, pass
-Ddocker.platforms=linux/arm64,linux/amd64
-->
<docker.platforms></docker.platforms>
- <docker.goal>build</docker.goal>
<docker.skip.push>true</docker.skip.push>
<docker.skip.tag>false</docker.skip.tag>