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

Cannot use env variable with name keyword

    XMLWordPrintable

Details

    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 &#x27;name&#x27; in your bitbucket-pipelines.yml file is invalid. Expecting &#x27;<accountId>.dkr.ecr.<region>.amazonaws.com/image-name&#x27;
      

      I'd like to be able to use an ENV var to specify image name in bitbucket-pipelines.yml

      Attachments

        Activity

          People

            Unassigned Unassigned
            8585afacc850 mkucharek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: