Created
March 6, 2023 09:15
-
-
Save JohnPreston/27508edcfb5f893dbf8620f75143e607 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VERSION=7.3.2; | |
for REPO_NAME in `aws --region us-east-1 ecr-public describe-repositories | jq -r .repositories[].repositoryName | grep confluentinc`; do | |
docker pull $REPO_NAME:$VERSION; | |
docker tag $REPO_NAME:$VERSION public.ecr.aws/ews-network/$REPO_NAME:$VERSION; | |
docker push public.ecr.aws/ews-network/$REPO_NAME:$VERSION; | |
done | |
for REPO_NAME in `aws --region us-east-1 ecr-public describe-repositories | jq -r .repositories[].repositoryName | grep confluentinc`; do | |
docker rmi public.ecr.aws/ews-network/$REPO_NAME:$VERSION; | |
docker rmi $REPO_NAME:$VERSION; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment