Skip to content

Commit

Permalink
[fix][build] Fix publish image script (apache#20305)
Browse files Browse the repository at this point in the history
Signed-off-by: Zixuan Liu <[email protected]>

(cherry picked from commit 94c7bf3)
Signed-off-by: Zixuan Liu <[email protected]>
  • Loading branch information
nodece committed Apr 28, 2024
1 parent a0212e7 commit ac8f8dd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docker/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,15 @@ set -x
# Fail if any of the subsequent commands fail
set -e

docker tag pulsar:latest ${docker_registry_org}/pulsar:$MVN_VERSION
docker tag pulsar-all:latest ${docker_registry_org}/pulsar-all:$MVN_VERSION
docker tag apachepulsar/pulsar:latest ${docker_registry_org}/pulsar:latest
docker tag apachepulsar/pulsar-all:latest ${docker_registry_org}/pulsar-all:latest

docker tag apachepulsar/pulsar:latest ${docker_registry_org}/pulsar:$MVN_VERSION
docker tag apachepulsar/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

Expand Down

0 comments on commit ac8f8dd

Please sign in to comment.