Difference between revisions of "Aws ecr list-images"

From wikieduonline
Jump to navigation Jump to search
Line 14: Line 14:
 
     ]
 
     ]
 
  }
 
  }
 +
 +
for REPOS in $([[aws ecr describe-repositories]] | grep repositoryName | cut -d'"' -f4); do aws ecr list-images --repository-name $REPOS; done
  
 
== Related ==
 
== Related ==

Revision as of 19:42, 12 July 2022

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecr/list-images.html

aws ecr list-images --repository-name
aws ecr list-images --repository-name cluster-autoscaler
aws ecr list-images --repository-name your_repo/name
{
   "imageIds": [
       {
           "imageDigest": "sha256:9c60b65baxxxx54275e090c5bb7f0f0af9788",
           "imageTag": "rev-1b0befeba91d0d7bb223212266d2cfb1de500gg"
       }
   ]
}
for REPOS in $(aws ecr describe-repositories | grep repositoryName | cut -d'"' -f4); do aws ecr list-images --repository-name $REPOS; done

Related

See also

Advertising: