Difference between revisions of "Aws ecr describe-images"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
  for REPOS in `[[aws ecr describe-repositories]] --output text | awk '{print $6}' | grep .`; do aws ecr describe-images --repository-name  $REPOS; done
 
  for REPOS in `[[aws ecr describe-repositories]] --output text | awk '{print $6}' | grep .`; do aws ecr describe-images --repository-name  $REPOS; done
  
 +
 +
Official example:
 +
<pre>
 +
{
 +
    "imageDetails": [
 +
        {
 +
            "registryId": "012345678910",
 +
            "repositoryName": "cluster-autoscaler",
 +
            "imageDigest": "sha256:4a1c6567c38904384ebc64e35b7eeddd8451110c299e3368d2210066487d97e5",
 +
            "imageTags": [
 +
                "v1.13.6"
 +
            ],
 +
            "imageSizeInBytes": 48318255,
 +
            "imagePushedAt": 1565128275.0
 +
        }
 +
    ]
 +
}
 +
</pre>
  
 
== See also ==
 
== See also ==

Revision as of 12:21, 11 January 2022


for REPOS in `aws ecr describe-repositories --output text | awk '{print $6}' | grep .`; do aws ecr describe-images --repository-name  $REPOS; done


Official example:

{
    "imageDetails": [
        {
            "registryId": "012345678910",
            "repositoryName": "cluster-autoscaler",
            "imageDigest": "sha256:4a1c6567c38904384ebc64e35b7eeddd8451110c299e3368d2210066487d97e5",
            "imageTags": [
                "v1.13.6"
            ],
            "imageSizeInBytes": 48318255,
            "imagePushedAt": 1565128275.0
        }
    ]
}

See also

Advertising: