The "gcloud app deploy" command currently defaults to pushing images to Container Registry. As of now, there is no direct flag to redirect the image to Artifact Registry. However, here’s what you need to know:
gcloud app deploy --image-url=LOCATION-docker.pkg.dev/PROJECT-ID/REPOSITORY/IMAGE:TAG
Hi, @cfa-ez.
Before answering your question, I have one for you - "Are you planning to migrate your existing container registry to Artifact Registry when you deploy? Or are you primarily only focusing on the gcloud app deploy command?
Currently in the GCP, you can no longer create new container registries. When you use the gcloud app deploy command, it will automatically create an Artifact Registry if previously not present for that. If you're using Container Registry previously, it will be migrated to Artifact Registry with a URL similar to gcr.io. As a result, you no longer need to specify additional arguments to define the container or artifact registry.
Regards,
Mokit