Skip to content

Commit 3e5bd17

Browse files
author
Sheyla Trudo
committed
fixup! Artifacts
1 parent 70b818e commit 3e5bd17

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,8 @@ steps:
232232
DEF=$(cat ./azure-container-networking/.pipelines/templates/mi-build-role.json | \
233233
jq -rc \
234234
--arg RESOURCE_GROUP_ID "$ACNCI_BUILD_RESOURCEGROUP_ID" \
235-
-rc '.')
235+
'.assignableScopes[] = $RESOURCE_GROUP_ID')
236+
echo $DEF | jq .
236237
if (( $DEFS_FOUND < 1 )); then
237238
az role definition create \
238239
--role-definition "$DEF"

.pipelines/templates/mi-build-role.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@
5656
],
5757
"notDataActions": [],
5858
"assignableScopes": [
59-
$RESOURCE_GROUP_ID
59+
"$RESOURCE_GROUP_ID"
6060
]
6161
}

0 commit comments

Comments
 (0)