Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-19535

Variable in Pipeline image name is not allowed

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              skhandelwal@atlassian.com Sandeep K
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: