I'm using a private image hosted via AWS ECR.
As can be seen at that link, the syntax for doing so involves setting an `image.name` value in bitbucket-pipelines.yml ...
image: name: <aws_account_id>.dkr.ecr.<region>.amazonaws.com/openjdk:8 aws: access-key: $AWS_ACCESS_KEY secret-key: $AWS_SECRET_KEY
I would like to know whether it is possible to use an account variable value to define parts of the `image.name` URI. For example, it would be nice to be able to set $AWS_ACCOUNT_ID, such that someone forking my repo could set their own value, and use my config as-is.
I've tried doing so, but as soon as I push the commit, I get feedback indicating that my config is invalid.
I've tried both of the following using no quotes, single quotes, and double quotes:
All of these variants show as valid using your online validation tool.
If this is not currently possible, would you consider making it so?
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
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