Skip to content

Commit 934c4fd

Browse files
authored
fix for failing az containerapp create command
in az containerapp create the image needs double quotes, otherwise the exception `The following field(s) are either invalid or missing. Invalid value: "/albumapp-ui": GET https:: UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:albumapp-ui Type:repository]]: template.containers.album-ui.image.` is thrown. Propose change: image "$ACR_NAME.azurecr.io/albumapp-ui"
1 parent 6e1b211 commit 934c4fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/container-apps/communicate-between-microservices.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ az containerapp create `
241241
--name $FRONTEND_NAME `
242242
--resource-group $RESOURCE_GROUP `
243243
--environment $ENVIRONMENT `
244-
--image $ACR_NAME.azurecr.io/albumapp-ui `
244+
--image "$ACR_NAME.azurecr.io/albumapp-ui" `
245245
--env-vars API_BASE_URL=https://$API_BASE_URL `
246246
--target-port 3000 `
247247
--ingress 'external' `
@@ -283,4 +283,4 @@ az group delete --name $RESOURCE_GROUP
283283
## Next steps
284284

285285
> [!div class="nextstepaction"]
286-
> [Environments in Azure Container Apps](environment.md)
286+
> [Environments in Azure Container Apps](environment.md)

0 commit comments

Comments
 (0)