Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Cannot pull image from AWS ECR for pipeline step

Tomas Svitil October 10, 2019

Bitbucket Pipelines fails on pulling our custom image from AWS ECR. 

The error code from bitbucket pipelines: [rpc error: code = Unknown desc = failed to resolve image "xxx.dkr.ecr.ap-southeast-1.amazonaws.com/yyy:zzz": no available registry endpoint: unexpected status code https://xxxxx.dkr.ecr.ap-southeast-1.amazonaws.com/v2/yyy/manifests/zzz: 405 Method Not Allowed, rpc error: code = Unknown desc = failed to resolve image "xxx.dkr.ecr.ap-southeast-1.amazonaws.com/yyy:zzz": no available registry endpoint: unexpected status code https://xxx.dkr.ecr.ap-southeast-1.amazonaws.com/v2/yyy/manifests/zzz: 403 Forbidden]

 

We've had this pipeline running perfectly fine for the past few months, and now it stopped working.

I have tried using the exact same credentials in my docker cli and pull the image from ECR manually, and that worked fine, so the problem doesn't seem to be on the AWS side.

(I have replaced the repo and image names with xxx, yyy, and zzz for privacy reasons)

1 answer

0 votes
Peter Plewa
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 15, 2019

Hi @Tomas Svitil,

This issue likely corresponds with an incident that happened recently, if the issue persist I would suggest contacting our support at https://support.atlassian.com/contact/. If it works fine and re-occurs in the future keep an aye on the Bitbucket status page at https://bitbucket.status.atlassian.com/

Thanks,
Peter

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events