📅  最后修改于: 2022-03-11 14:51:29.912000             🧑  作者: Mango
- MANIFEST=$(aws ecr batch-get-image --region eu-west-1 --repository-name application-image --image-ids imageTag=latest --query 'images[].imageManifest' --output text)
- |-
if [ -n "$MANIFEST" ]; then
aws ecr put-image --region eu-west-1 --repository-name application-image --image-tag ${IMAGE_TAG} --image-manifest "$MANIFEST"
fi