Search code examples
google-cloud-platformdeploymentgcloudgoogle-cloud-runrevision

How to create Revision URL using gcloud run?


I recently noticed a beta feature in the Google Cloud Run web UI that allows you to create a Revision URL (tag). Super handy feature!

My question: how can I create a tag for a revision so I can do this using gcloud? I'm not seeing anything in the docs for it yet (probably because it's such a fresh feature).


Solution

  • The revision URL is also named "TAG". Use the update command to tag the latest revision.

    gcloud beta run services update --tag=test --platform=managed --region=us-central1  go111