az acr build requored <SOURCE_LOCATION> parameter
Asked Answered
A

2

6

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?

Angioma answered 11/7, 2021 at 7:31 Comment(0)
A
9

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 .
Angioma answered 11/7, 2021 at 8:16 Comment(0)
F
1

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

Fireside answered 11/7, 2021 at 7:35 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.