Details
-
Bug
-
Resolution: Duplicate
-
Low
Description
It seems like it is not possible to do something like this:
#!yaml image: name: $BUILD_IMAGE_NAME aws: access-key: $AWS_ACCESS_KEY secret-key: $AWS_SECRET_KEY
as pipelines fails with an error:
The ECR image name 'name' in your bitbucket-pipelines.yml file is invalid. Expecting '<accountId>.dkr.ecr.<region>.amazonaws.com/image-name'
I'd like to be able to use an ENV var to specify image name in bitbucket-pipelines.yml