Skip to content

Commit

Permalink
enable docker push
Browse files Browse the repository at this point in the history
  • Loading branch information
HappyAmazonian committed Dec 18, 2024
1 parent ebc7f89 commit cf56d95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions serving/docker/scripts/push_image_from_ECR.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ images=(cpu aarch64 cpu-full pytorch-inf2 pytorch-gpu lmi tensorrt-llm)

from_repo=$AWS_TMP_ECR_REPO

set -x
for image in "${images[@]}"; do

if [[ "$mode" == "release" ]]; then
Expand All @@ -35,8 +36,7 @@ for image in "${images[@]}"; do
if [[ "$mode" == "nightly" ]]; then
tag="$image-nightly"
fi
echo docker pull $from_repo:$image-$mode-$commit_sha
docker pull $from_repo:$image-$mode-$commit_sha
echo docker tag $from_repo:$image-$mode-$commit_sha $to_repo:$tag
echo docker push $to_repo:$tag
docker tag $from_repo:$image-$mode-$commit_sha $to_repo:$tag
docker push $to_repo:$tag
done

0 comments on commit cf56d95

Please sign in to comment.