-
Bug
-
Resolution: Done
-
Low
-
5.8.1
-
Severity 3 - Minor
-
https://confluence.atlassian.com/display/BAMBOO/Bamboo+variables says that variables should be usable in any field other than password fields, but the docker build/push steps won't allow them due to their syntax checking.
For example, I want to create a template plan for building docker images that can be easily cloned and updated for different containers. So instead of hard coding the repository, image name, and image tag in every step I attempt to use variables to specify the options that may change between plans.
But when I attempt to use something like this for the repository name:
${bamboo.dockerRepository}/${bamboo.imageName}:${bamboo.buildNumber}
I am presented with a error like this:
Invalid repository name (${bamboo.imageName}), only [a-zA-Z0-9_.-] are allowed
Even if bamboo.imageName follows the syntax required for a docker image name.
- has a regression in
-
BAM-18282 Unable to use variables in Container name field in Run docker task
- Closed
- is duplicated by
-
BAM-17059 Bamboo Variables not correctly checked before Colon
- Closed
-
BAM-17188 Expand Bamboo variables in Docker task
- Closed
-
BAM-16361 Docker task should allow variables to be used in the docker image/repository name
- Closed
-
BAM-17021 Allow injected variables in Docker tasks
- Closed
-
BAM-17337 Add support to use variables for Docker repository
- Closed
- is related to
-
BAM-15565 Make it possible to specify user's password as a variable in Docker task
- Closed