This is an automated email from the ASF dual-hosted git repository. yichi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push: new 3130e9c02f8 [BEAM-14494] Fix publish_docker_images.sh (#17756) 3130e9c02f8 is described below commit 3130e9c02f82d919f8975ab3e40d6efd653ea44b Author: Yichi Zhang <zyi...@google.com> AuthorDate: Wed May 25 13:42:40 2022 -0700 [BEAM-14494] Fix publish_docker_images.sh (#17756) --- release/src/main/scripts/publish_docker_images.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/release/src/main/scripts/publish_docker_images.sh b/release/src/main/scripts/publish_docker_images.sh index 0339f9c627d..b189c9c1bfd 100755 --- a/release/src/main/scripts/publish_docker_images.sh +++ b/release/src/main/scripts/publish_docker_images.sh @@ -40,21 +40,21 @@ RC_VERSION="rc${RC_NUM}" echo "================Confirming Release and RC version===========" echo "We are using ${RC_VERSION} to push docker images for ${RELEASE}." echo "Publishing the following images:" -IMAGES=$(docker images --filter "reference=apache/beam_*:${RELEASE}_${RC_VERSION}" --format "{{.Repository}}") +IMAGES=$(docker images --filter "reference=apache/beam_*:${RELEASE}${RC_VERSION}" --format "{{.Repository}}") echo "${IMAGES}" echo "Do you want to proceed? [y|N]" read confirmation if [[ $confirmation = "y" ]]; then echo "${IMAGES}" | while read IMAGE; do # Pull verified RC from dockerhub. - docker pull "${IMAGE}:${RELEASE}_${RC_VERSION}" + docker pull "${IMAGE}:${RELEASE}${RC_VERSION}" # Tag with ${RELEASE} and push to dockerhub. - docker tag "${IMAGE}:${RELEASE}_${RC_VERSION}" "${IMAGE}:${RELEASE}" + docker tag "${IMAGE}:${RELEASE}${RC_VERSION}" "${IMAGE}:${RELEASE}" docker push "${IMAGE}:${RELEASE}" # Tag with latest and push to dockerhub. - docker tag "${IMAGE}:${RELEASE}_${RC_VERSION}" "${IMAGE}:latest" + docker tag "${IMAGE}:${RELEASE}${RC_VERSION}" "${IMAGE}:latest" docker push "${IMAGE}:latest" done