以下の内容はhttps://uncaughtexception.hatenablog.com/entry/2024/08/12/145636より取得しました。


ACR Buildが実行できるカスタムロール

ACR Buildはaz acr build -t ${image} -r ${registry} .でACRにコンテナーイメージのビルドをしてもらう機能。
ACR PullとかACR Pushはビルトインロール (そのままAcrPullAcrPush)があるけどACR Build用のビルトインロールはない。

なので、カスタムロールを作った。

いろいろ試した結果、行きついたのがこれ。

{
    "id": "/subscriptions/...",
    "properties": {
        "roleName": "AcrBuilder",
        "description": "",
        "assignableScopes": [
            "/subscriptions/..."
        ],
        "permissions": [
            {
                "actions": [
                    "Microsoft.ContainerRegistry/registries/runs/listLogSasUrl/action",
                    "Microsoft.ContainerRegistry/registries/scheduleRun/action",
                    "Microsoft.ContainerRegistry/registries/listBuildSourceUploadUrl/action",
                    "Microsoft.ContainerRegistry/registries/read"
                ],
                "notActions": [],
                "dataActions": [],
                "notDataActions": []
            }
        ]
    }
}



以上の内容はhttps://uncaughtexception.hatenablog.com/entry/2024/08/12/145636より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14