A simple Bash script to clean up Google Container Registry (GCR) images older than a specified number of days. Includes a dry-run mode to preview deletions without making any changes.
- Google Cloud SDK (
gcloud
) installed and authenticated. jq
installed for JSON processing.- Access to the GCR repository from Cloud Shell or your local environment.