How to Build and push Container Image in Azure Container Registry from Azure CLI.
In this Exercise it asks me to Build and push image from a Dockerfile.
When I run this which is the second step to the exercise linked above:
az acr build --image sample/hello-world:v1 \ --registry <myContainerRegistry> \ --file Dockerfile .
I get this error in the Azure CLI (Bash):
(TasksOperationsNotAllowed) ACR Tasks requests for the registry <myRegistryName> and 1234hu-k12j3rm-jh<sefu-jhwekfjh are not permitted. Please file an Azure support request at http://aka.ms/azuresupport for assistance.
Code: TasksOperationsNotAllowed
Message: ACR Tasks requests for the registry carlbergsacr and d15a8485-838e-44be-a728-47df960eab1e are not permitted. Please file an Azure support request at http://aka.ms/azuresupport for assistance.
Target: request
I'm only following the "tutorial" I did echo inside the the Azure CLI and then tried building and pushing the image from there as well. I am running a free subscription which is a prerequisite but I am afraid I might need a "pay-as-you-go" subscription.
Thanks!
This question is related to the following Learning Module