-
Suggestion
-
Resolution: Duplicate
-
None
Summary: Currently Pipeline doesn't allow variable in the image name.
If we specify $AWS_ACCOUNT_ID.dkr.ecr.$REGION.amazonaws.com/openjdk:8 as image name in bitbucket-pipelines.yml where AWS_ACCOUNT_ID and REGION have been defined as Repository variables, we get the following error :
"here is a problem with the format of your docker image name at [image > name]." if specify the variable in the image name
Example : Pipeline should allow following image name in the bitbucket-pipelines.yml file
name: $AWS_ACCOUNT_ID.dkr.ecr.$REGION.amazonaws.com/openjdk:8
where AWS_ACCOUNT_ID and REGION have been defined as Repository variables.
Expected Result : Pipeline should allow variable in image name
Workaround : Use hard coded image name in Pipeline
- is duplicated by
-
BCLOUD-13014 Allow using environment variables in the Docker image name
- Closed