We're using AWS ECR to store our private images. We've figured out how to access our images in a BB pipeline, however, I haven't figured out how to access a pipe in ECR yet.
When I execute my pipeline, I get an error about being unable to find the pipe:
- step:
name: "Checkout and deploy our update"
script:
- pipe: 5...r.ecr.us....amazonaws.com/pipes/update-staging-pipe:1.0.0
error:
Configuration error
It looks like you tried to use a pipe in your bitbucket-pipelines.yml that doesn’t exist. Check the name of the pipe and try again.
In order to solve our issue with private docker images on the build we added some AWS credential configuration:
from bitbucket-pipelines.yml:
image:
name: 5...r.ecr.us....amazonaws.com/devops/bbp-helm:test
aws:
access-key: $AWS_ACCESS_KEY_ID
secret-key: $AWS_SECRET_ACCESS_KEY
Is there a similar configuration on the pipe element that we can use to access our pipe image in ECR?