This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch branch-2.8
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-2.8 by this push:
new 8934b7caf8a [fix][build] Don't publish docker image with "latest" tag
to docker repository
8934b7caf8a is described below
commit 8934b7caf8ae16dea7c2864e962f7f81bda5bcd2
Author: Lari Hotari <[email protected]>
AuthorDate: Tue Jun 6 11:52:36 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 | 7 -------
1 file changed, 7 deletions(-)
diff --git a/docker/publish.sh b/docker/publish.sh
index c064286b22b..7a712f8f456 100755
--- a/docker/publish.sh
+++ b/docker/publish.sh
@@ -62,20 +62,13 @@ 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-standalone:latest
${docker_registry_org}/pulsar-standalone: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
docker tag pulsar-standalone:latest
${docker_registry_org}/pulsar-standalone:$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-standalone:latest
docker push ${docker_registry_org}/pulsar:$MVN_VERSION
docker push ${docker_registry_org}/pulsar-all:$MVN_VERSION