moby--moby/builder
Tianon Gravi 24189b2c36 Fix builder from being over-aggressive on ${}
`${SOME_VAR%pattern}` was turning into `SOME_VAL%pattern}` which the shell would then balk at.

I've updated the `TOKEN_ENV_INTERPOLATION` regex to account for this (ie, if `${` is used, it _must_ also match the closing `}`), and renamed the variable to not be exported (since it's not used outside the function following it).

I also added comments for the bits of `tokenEnvInterpolation` so they're easier to follow. 😄

Signed-off-by: Andrew Page <admwiggin@gmail.com>
2014-10-14 00:58:55 -06:00
..
parser builder: ONBUILD triggers were not accurately being executed in JSON cases. 2014-10-14 01:59:45 +00:00
MAINTAINERS Add a new MAINTAINERS file for the builder. 2014-09-17 15:36:04 -07:00
dispatchers.go builder: ONBUILD triggers were not accurately being executed in JSON cases. 2014-10-14 01:59:45 +00:00
evaluator.go builder: ONBUILD triggers were not accurately being executed in JSON cases. 2014-10-14 01:59:45 +00:00
internals.go builder: ONBUILD triggers were not accurately being executed in JSON cases. 2014-10-14 01:59:45 +00:00
job.go Added validity checks for repo name and tag in build job. 2014-10-02 17:37:13 +02:00
support.go Fix builder from being over-aggressive on ${} 2014-10-14 00:58:55 -06:00