Azure / acr-builder

Azure Container Registry Build Runner
MIT License
38 stars 35 forks source link

Alias has trouble with regex #528

Closed juliusl closed 1 year ago

juliusl commented 5 years ago

Describe the bug Aliasing a regex value in tasks.yaml causes issues.

To Reproduce See: https://github.com/juliusl/pure-docker-run-on-tasks/tree/bugbash/regex

For a repro project.

Expected behavior Expecting to use:

    regex: "^[A-Z].*\.$"

This fails with this:

2019/10/08 21:37:54 Downloading source code...
2019/10/08 21:37:56 Finished downloading source code
2019/10/08 21:37:56 Alias support enabled for version >= 1.1.0, please see https://aka.ms/acr/tasks/task-aliases for more information.

Run ID: yck was successful after 3s

Screenshots If applicable, add screenshots to help explain your problem.

Any relevant environment information

Additional context Add any other context about the problem here.

Not aliasing the regex value and putting it directly in the cmd works as expected. Lifting the regex value out and storing it in a regex alias does not work.