Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

gcloud app deploy command, Container Registry deprecation and Artifact Registry migration

Hi there,
 
I am currently working on migrating from Container Registry to Artifact Registry, however there is a point that is a bit unclear for me.
 
We run the "gcloud app deploy" cli command to publish our app and that automatically builds the container image based on the Dockerfile and pushes it to the Container Registry. As far as I can tell from the documentation, there is no flag or anything to make it point to Artifact Registry. So what am I missing?
 
Should I be using the "--image-url=" flag?
Or is it something else that needs to be done?
Or will "gcloud app deploy" publish the images to Artifact Registry automatically from 18/03/2025?
 
If anyone knows something that might help, I'd be grateful.
Thanks a lot!
2 REPLIES 2