【问题标题】:az acr build requored <SOURCE_LOCATION> parameteraz acr build 需要 <SOURCE_LOCATION> 参数
【发布时间】:2021-07-11 07:31:05
【问题描述】:

我正在按照official documentation 上的指示进行操作

执行命令时:

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

我收到了

需要以下参数:

但根据文档, 不是必需参数。

有人遇到过这种情况吗?

【问题讨论】:

    标签: azure azure-container-registry


    【解决方案1】:

    我转到应用程序的根文件夹并在命令末尾添加了一个点。通过这种方式,我传递了代码存在的位置()。

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

    【讨论】:

      【解决方案2】:

      似乎这个issue 已经被报告了,但是你可以通过传递代码所在的位置来解决这个问题

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2015-05-13
        • 2023-03-16
        • 1970-01-01
        • 2020-10-13
        • 1970-01-01
        相关资源
        最近更新 更多