Skip to content

Commit 967acc1

Browse files
author
Sheyla Trudo
committed
fixup! Artifacts
1 parent 232226e commit 967acc1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.pipelines/templates/artifact-storage.steps.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,9 @@ steps:
227227
DEFS_FOUND=$(az role definition list --name "$ACNCI_BUILDUSER_ROLE_NAME" --custom-role-only -ojson | jq length)
228228
229229
DEF=$(cat ./azure-container-networking/.pipelines/templates/mi-build-role.json | \
230-
jq -rc '.')
230+
jq -rc \
231+
--arg SUBSCRIPTION_RESOURCEID "/subscriptions/$SUBSCRIPTION_ID" \
232+
'.assignableScopes[] = $SUBSCRIPTION_RESOURCEID')
231233
232234
echo $DEF | jq .
233235
if (( $DEFS_FOUND < 1 )); then

0 commit comments

Comments
 (0)