Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

ECR Docker image in Pipe.yml

In their example

It shows a public pipe used in the pipe.yml file.

Our docker images are stored in our AWS ECR. What is the syntax for referencing the ECR image in the pipe.yml (access keys etc). 

In a previous support ticket to use ecr they mentioned to use this

- step:
- eval $(aws ecr get-login --region ${AWS_DEFAULT_REGION} --no-include-email)
- pipe: docker://ecrurl

 below. I'm wondering if this would work in the context of pipe.yml also. 

2 answers

In my case, i resolved the issue using this code (Having configurated the AWS credentials in the pipeline variables) :


name: Test pipe
# AWS Credential
- $(aws ecr get-login --no-include-email)
- pipe: docker://<ecr_url>
0 votes

@Ming Han Chung it depends what exactly you want to do on ecr? If you want to push to ecr repository, we recommend to check out ecr deploy pipe:

Describe what you would like to do with ecr and we can think on how to help you.

Regards, Galyna

Could you show an example of how to push an image to public ECR repository ? Is there any additional attributes which needs to be added along with the ones shown in the example ?


I am getting the following error


"The repository with name 'xxxxxxxx' does not exist in the registry with id 'xxxxxxxxx'"


P.S:  I do have a repository under public category in the AWS account, but not sure why it's unable to recognise that 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

3,502 views 3 10
Read article

Atlassian Community Events