Skip to content

Commit 311387b

Browse files
authored
Fixed registry registration
1 parent 7c5fb6c commit 311387b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/main.bicep

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ resource containerApp 'Microsoft.App/containerApps@2022-03-01' = {
117117
}
118118
registries: [
119119
{
120-
server: containerRegistry.name
121-
username: containerRegistry.properties.loginServer
120+
server: containerRegistry.properties.loginServer
121+
username: containerRegistry.listCredentials().username
122122
passwordSecretRef: 'container-registry-password'
123123
}
124124
]

0 commit comments

Comments
 (0)