File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -149,8 +149,7 @@ jobs:
149149 embeddingModel="text-embedding-ada-002" \
150150 embeddingDeploymentCapacity=${{ env.TEXT_EMBEDDING_MIN_CAPACITY }} \
151151 azureAiServiceLocation=${{ env.AZURE_LOCATION }} \
152- imageTag="${IMAGE_TAG}"\
153- createdBy="Pipeline"
152+ imageTag="${IMAGE_TAG}"
154153
155154 - name : Get Deployment Output and extract Values
156155 id : get_output
Original file line number Diff line number Diff line change @@ -136,7 +136,8 @@ param enableTelemetry bool = true
136136param enablePurgeProtection bool = false
137137
138138@description ('Optional created by user name' )
139- param createdBy string = empty (deployer ().userPrincipalName ) ? '' : split (deployer ().userPrincipalName , '@' )[0 ]
139+ param createdBy string = contains (deployer (), 'userPrincipalName' )? split (deployer ().userPrincipalName , '@' )[0 ]: deployer ().objectId
140+
140141
141142// ============== //
142143// Variables //
You can’t perform that action at this time.
0 commit comments