Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-16361

Docker task should allow variables to be used in the docker image/repository name

XMLWordPrintable

    • 1
    • 3
    • 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.

      The Docker task does not allow using variables to point to the name of the image to be used for the task.

      The repository field in the "Build a Docker Image" and "Push a Docker image to a Docker registry" commands prevents the ${variable} syntax from being entered, as it does not meet the regex requirements for a Docker repository name.

      The Docker image field in the "Run a Docker container" command does allow the ${variable} syntax, but does not substitute the variable when attempting to run the container, and the Docker daemon returns an error.

        1. Screen Shot 2015-09-18 at 5.22.25 PM.png
          104 kB
          Nick Allen
        2. Screen Shot 2015-09-18 at 5.22.53 PM.png
          99 kB
          Nick Allen
        3. Screen Shot 2015-09-18 at 5.24.05 PM.png
          15 kB
          Nick Allen

            851f15845f55 Mateusz Szmal
            2f57b7ccfdfb Nick Allen
            Votes:
            39 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated: