This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch branch-2.9
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-2.9 by this push:
new f33b7d7e1e1 [fix][build] Don't publish docker image with "latest" tag
to docker repository
f33b7d7e1e1 is described below
commit f33b7d7e1e12fa7fd207bc049da86e83e85b5d24
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)
# Conflicts:
# docker/publish.sh
---
docker/publish.sh | 5 -----
1 file changed, 5 deletions(-)
diff --git a/docker/publish.sh b/docker/publish.sh
index 1df2dd7beba..758eaaf403e 100755
--- a/docker/publish.sh
+++ b/docker/publish.sh
@@ -62,17 +62,12 @@ 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-grafana:latest ${docker_registry_org}/pulsar-grafana:latest
-
docker tag pulsar:latest ${docker_registry_org}/pulsar:$MVN_VERSION
docker tag pulsar-all:latest ${docker_registry_org}/pulsar-all:$MVN_VERSION
docker tag pulsar-grafana:latest
${docker_registry_org}/pulsar-grafana:$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-grafana:latest
docker push ${docker_registry_org}/pulsar:$MVN_VERSION
docker push ${docker_registry_org}/pulsar-all:$MVN_VERSION