Relative Content

Tag Archive for gcloudgoogle-container-registrygoogle-artifact-registry

gcloud delete container image routed to artifact registry

I have routed all gcr.io traffic to Artifact Registry. The command gcloud container images delete --force-delete-tags used to delete digests in an image along with the image. Now with the images hosted on Artifact Registry, the command still deletes digests but leaves an empty image. I would like to be able to delete the image via command line for automation purposes. How can I do this?