Skip to content

Commit

Permalink
Merge pull request #980 from Azure/fix-env
Browse files Browse the repository at this point in the history
Fix environment variable
  • Loading branch information
janboll authored Dec 13, 2024
2 parents 34bf09c + 3009967 commit a0365ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dev-infrastructure/templates/image-sync.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ var secretWithFolderPrefix = [
}
]

var secretVar = {
secrets: secretWithFolderPrefix
}

//
// Container App Infra
//
Expand Down Expand Up @@ -234,7 +238,7 @@ resource componentSyncJob 'Microsoft.App/jobs@2024-03-01' = if (componentSyncEna
{ name: 'TENANT_ID', value: tenant().tenantId }
{ name: 'DOCKER_CONFIG', value: '/auth' }
{ name: 'MANAGED_IDENTITY_CLIENT_ID', value: uami.properties.clientId }
{ name: 'SECRETS', value: string(secretWithFolderPrefix) }
{ name: 'SECRETS', value: string(secretVar) }
]
}
]
Expand Down

0 comments on commit a0365ec

Please sign in to comment.