You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by te...@apache.org on 2023/11/27 02:56:44 UTC

(pulsar-site) branch main updated: [fix][site] Update docker image staging command (#595)

This is an automated email from the ASF dual-hosted git repository.

technoboy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 0b780598a3a0 [fix][site] Update docker image staging command (#595)
0b780598a3a0 is described below

commit 0b780598a3a048034e1e22562b564d13228fd90e
Author: Christophe Bornet <cb...@hotmail.com>
AuthorDate: Mon Nov 27 03:56:37 2023 +0100

    [fix][site] Update docker image staging command (#595)
---
 contribute/release-process.md | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/contribute/release-process.md b/contribute/release-process.md
index 0945ec53efe2..5522a10007a4 100644
--- a/contribute/release-process.md
+++ b/contribute/release-process.md
@@ -219,8 +219,21 @@ Run the following commands:
 
 ```shell
 cd $PULSAR_HOME/docker
+
+# Release before Pulsar 3.0
 ./build.sh
-DOCKER_USER=<your-username> DOCKER_PASSWORD=<your-password> DOCKER_ORG=<your-username> ./publish.sh
+DOCKER_USER=<your-username> DOCKER_PASSWORD=<your-password> DOCKER_ORG=<your-organization> ./publish.sh
+
+# Release Pulsar 3.0 and later
+DOCKER_USER=<your-username>
+DOCKER_ORG=<docker-organization>
+docker login $DOCKER_ORG -u $DOCKER_USER -p <your-password>
+mvn install -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/ \
+    -DskipTests \
+    -Pmain,docker -Pdocker-push \
+    -Ddocker.platforms=linux/amd64,linux/arm64 \
+    -Ddocker.organization=$DOCKER_ORG \
+    -pl docker/pulsar,docker/pulsar-all
 ```
 
 After that, the following images will be built and pushed to your own DockerHub account: