acr-build icon indicating copy to clipboard operation
acr-build copied to clipboard

JSON error while using "build-args"

Open swetha-sundar opened this issue 3 years ago • 1 comments

Issue

When you pass a string with KeyValue pairs to the build-args option, fails with:

parse error: Invalid numeric literal at line 1, column 5

When you pass an array with KeyValue pairs to the build-args option, fails with:

Missed comma between flow collection entries when using fngetatt in yaml

Todo

  1. Add an example on how you would pass a build-arg
  2. Add support for arrays for build-arg option

swetha-sundar avatar Oct 04 '22 17:10 swetha-sundar

I ran into this same thing and opened a PR to update the README with an example of using build args: https://github.com/Azure/acr-build/pull/8

conor-naranjo avatar Oct 05 '22 17:10 conor-naranjo