This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-2.7 by this push:
new 33eace612e8 [fix][build] Don't publish docker image with "latest" tag
to docker repository
33eace612e8 is described below
commit 33eace612e8173950dac4aaae8eac1d6a37a9808
Author: Lari Hotari <[email protected]>
AuthorDate: Tue Jun 6 11:54:16 2023 +0300
[fix][build] Don't publish docker image with "latest" tag to docker
repository
(cherry picked from commit 49d81af324b0566bc29b773575fa7015279e8971)
# Conflicts:
# docker/publish.sh
(cherry picked from commit 8934b7caf8ae16dea7c2864e962f7f81bda5bcd2)
---
docker/publish.sh | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/docker/publish.sh b/docker/publish.sh
index c064286b22b..69cef1b254b 100755
--- a/docker/publish.sh
+++ b/docker/publish.sh
@@ -62,21 +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-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
docker push ${docker_registry_org}/pulsar-grafana:$MVN_VERSION