Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Cross-platform testing in Bitbucket Pipelines with aws image


So I need to run a cross flatform testing in bitbuket pipeline, I find the documentation here, however I'm not sure how to use the image from aws ? I have tried a few ways , all failed. what's the format to use ecr image here?

1 answer

1 accepted

0 votes
Answer accepted

Hello Xiaoxue Chen,

If I understand correctly, you want to use a Docker image that is hosted by AWS ECR?

In order to do so, you can:

1) First, create two secure variables in Pipelines for the AWS access key and AWS secret key. You can define those either as repository variables (from the 'Repository Settings' > 'Repository variables') or as workspace variables (from workspace 'Settings' > 'Workspace variables') if you want them available for multiple repos in that workspace.

You can find more info on creating variables in pipelines here:

2) Assuming that the name of these variables are AWS_ACCESS_KEY and AWS_SECRET_KEY respectively, you define the image as follows:

  name: <aws_account_id>.dkr.ecr.<region>
    access-key: $AWS_ACCESS_KEY
    secret-key: $AWS_SECRET_KEY

Replace the image name also with the appropriate values for your image.

This info is included in the following documentation, section "Private images hosted by AWS ECR (EC2 Container Registry)"

Is this something that works for you?

In case you still face issues, could you copy-paste here the definition you use in your yml file and the error you get, so we can better help? (Please remember to sanitize any private/sensitive info you post here)

Kind regards,

Suggest an answer

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

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

289 views 2 10
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you