I am hosting my containerized application using Google cloud run. To save cost, I want to delete all but the active revisions of my application's Docker image.
I use a job of my GitLab pipeline to handle the credentials and settings using environment variables.
I can list my revisions like so:
gcloud run revisions list --region="$GCP_REGION"