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

XMLWordPrintable

    • 1
    • 3

      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.24.05 PM.png
          15 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.22.25 PM.png
          104 kB
          Nick Allen

            Assignee:
            Mateusz Szmal
            Reporter:
            Nick Allen
            Votes:
            39 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated:
              Resolved: