ECR

To tag an ECR image which has been untagged:

Find out the Imagedigest of the image.

region=eu-central-1 imageDigest=sha256:dd0ba20e476d2c0becef6da2dc0504a8311457528ea3d39bc65a0980292d18ae

MANIFEST=$(aws ecr batch-get-image --region region --repository-name rstudio --image-ids imageDigest=imageDigest --query 'images[].imageManifest' --output text) aws ecr put-image --region region --repository-name rstudio --image-tag r3.5.2-rstudio1.1-040419 --image-manifest "MANIFEST"