az acr build requored <SOURCE_LOCATION> parameter

Viewed 1323

I'm following the directions on the official documentation

While executing a command:

az acr build --registry <container_registry_name> --image webimage

I'm receiving

the following arguments are required: <SOURCE_LOCATION>

But per the documentation, <SOURCE_LOCATION> is not a required parameter.

Has anyone encountered such a case?

2 Answers

I went to the root folder of the application and added a point at the end of the command. In such a way I passed the location where the code exists (<SOURCE_LOCATION>).

az acr build --registry <container_registry_name> --image webimage .

Seems this issue had been already reported , however you could resolve this by passing the location where the code exists

Related