CmdID

CmdID / aws / aws ecr

aws ecr complete-layer-upload

Informs Amazon ECR that the image layer upload has completed for a specified registry, repository name, and upload ID. AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To complete an image layer upload

The following complete-layer-upload example completes an image layer upload to the layer-test repository.

aws ecr complete-layer-upload --repository-name layer-test --upload-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 --layer-digests a1b2c3d4-5678-90ab-cdef-EXAMPLE11111:48074e6d3a68b39aad8ccc002cdad912d4148c0f92b3729323eIdentify
--repository-nameThe name of the repository to associate with the image layer.
--upload-idThe upload ID from a previous InitiateLayerUpload operation to associate with the image layer.
--layer-digestsThe sha256 digest of the image layer.
Its output
{
    "uploadId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
    "layerDigest": "sha256:9a77f85878aa1906f2020a0ecdf7a7e962d57e882250acd773383224b3fe9a02",
    "repositoryName": "layer-test",
    "registryId": "123456789012"
}

For more information, see Pushing an image to an Amazon ECR private repository in the Amazon ECR User Guide.

Options

4 in the AWS CLI reference
--layer-digestsThe sha256 digest of the image layer.
--registry-idThe Amazon Web Services account ID associated with the registry to which to upload layers.
--repository-nameThe name of the repository to associate with the image layer.
--upload-idThe upload ID from a previous InitiateLayerUpload operation to associate with the image layer.