From dd03899739ad8a574f90dc91b453832b36ba013e Mon Sep 17 00:00:00 2001 From: Siddharth Venkatesan Date: Wed, 8 Jan 2025 09:35:30 -0700 Subject: [PATCH] fix ecr push script to tag image after pull and before push (#2655) --- serving/docker/scripts/push_image_from_ECR.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serving/docker/scripts/push_image_from_ECR.sh b/serving/docker/scripts/push_image_from_ECR.sh index 55b545f65..166e744d7 100755 --- a/serving/docker/scripts/push_image_from_ECR.sh +++ b/serving/docker/scripts/push_image_from_ECR.sh @@ -36,5 +36,5 @@ if [[ "$mode" == "nightly" ]]; then tag="$image-nightly" fi docker pull $from_repo:$image-$mode-$commit_sha -echo docker tag $from_repo:$image-$mode-$commit_sha $to_repo:$tag +docker tag $from_repo:$image-$mode-$commit_sha $to_repo:$tag docker push $to_repo:$tag