We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 232226e commit 967acc1Copy full SHA for 967acc1
.pipelines/templates/artifact-storage.steps.yaml
@@ -227,7 +227,9 @@ steps:
227
DEFS_FOUND=$(az role definition list --name "$ACNCI_BUILDUSER_ROLE_NAME" --custom-role-only -ojson | jq length)
228
229
DEF=$(cat ./azure-container-networking/.pipelines/templates/mi-build-role.json | \
230
- jq -rc '.')
+ jq -rc \
231
+ --arg SUBSCRIPTION_RESOURCEID "/subscriptions/$SUBSCRIPTION_ID" \
232
+ '.assignableScopes[] = $SUBSCRIPTION_RESOURCEID')
233
234
echo $DEF | jq .
235
if (( $DEFS_FOUND < 1 )); then
0 commit comments