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

lhotari pushed a commit to branch branch-2.10
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/branch-2.10 by this push:
     new 33a45e0b4c4 [fix][build] Don't publish docker image with "latest" tag 
to docker repository
33a45e0b4c4 is described below

commit 33a45e0b4c4fb502427ff59de4f4bbbb732611e1
Author: Lari Hotari <[email protected]>
AuthorDate: Tue Jun 6 11:48:41 2023 +0300

    [fix][build] Don't publish docker image with "latest" tag to docker 
repository
    
    (cherry picked from commit 49d81af324b0566bc29b773575fa7015279e8971)
---
 docker/publish.sh | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/docker/publish.sh b/docker/publish.sh
index af0d72d4b34..5cd95ef4421 100755
--- a/docker/publish.sh
+++ b/docker/publish.sh
@@ -62,15 +62,10 @@ set -x
 # Fail if any of the subsequent commands fail
 set -e
 
-docker tag pulsar:latest ${docker_registry_org}/pulsar:latest
-docker tag pulsar-all:latest ${docker_registry_org}/pulsar-all:latest
-
 docker tag pulsar:latest ${docker_registry_org}/pulsar:$MVN_VERSION
 docker tag pulsar-all:latest ${docker_registry_org}/pulsar-all:$MVN_VERSION
 
 # Push all images and tags
-docker push ${docker_registry_org}/pulsar:latest
-docker push ${docker_registry_org}/pulsar-all:latest
 docker push ${docker_registry_org}/pulsar:$MVN_VERSION
 docker push ${docker_registry_org}/pulsar-all:$MVN_VERSION
 

Reply via email to