Reputation: 16031
I've followed this guide to deploy my custom image but now I'm stuck on how do I deploy vNext
of my container image?
Skimming this YouTube video, it seems revisions are the way but how using the Azure CLI?
There's also an interesting concepts page on application lifecycle management but no guides/tutorials on this topic of revisions, only the api guide pages.
Upvotes: 2
Views: 3160
Reputation: 1159
az containerapp update `
--name <APPLICATION_NAME> `
--resource-group <RESOURCE_GROUP_NAME> `
--image mcr.microsoft.com/azuredocs/containerapps-helloworld
Upvotes: 6
Reputation: 16031
create a revision copy pointing to the new image:
$RESOURCE_GROUP="my-resource-group"
$CONTAINER_APP_NAME="my-image"
$NEW_IMAGE="myregistry.azurecr.io/smile:vNext"
az containerapp revision copy --resource-group $RESOURCE_GROUP `
--name $CONTAINER_APP_NAME `
--image $NEW_IMAGE
Upvotes: 0