Skip to content

Commit

Permalink
Fix environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
janboll committed Dec 13, 2024
1 parent 34bf09c commit 3009967
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 3009967

Please sign in to comment.