aws-toolkit-azure-devops icon indicating copy to clipboard operation
aws-toolkit-azure-devops copied to clipboard

Support public ECR for ECRPushImage task

Open gomker opened this issue 1 year ago • 3 comments

The documentation notes "The image tag will be of the form aws_account_id.dkr.ecr.region.amazonaws.com/imagename" however, a public ecr has the format of public.ecr.aws/<repo>/<image>

Is there a way to specify a public ECR or should this be a feature request?

gomker avatar Jul 30 '22 17:07 gomker

From what I understand, public ECR is a different service and would be incompatible with the current ECRPushImage task.

I'm labeling this as a feature request.

JadenSimon avatar Aug 01 '22 23:08 JadenSimon

Thanks for the update. From what I understand all the authentication mechanisms are the same for public vs private ECR. Perhaps adding a checkbox for public to change the URI public.ecr.aws/<repo>/<image> is all that would be needed.

gomker avatar Aug 04 '22 13:08 gomker

I'll need to do a bit more research/experimentation with this as I've only looked at documentation and haven't tested anything. I'm hoping it's as simple as using a different URI.

JadenSimon avatar Aug 04 '22 19:08 JadenSimon