When I run command in terminal to deploy a job with a Revision Tag to Cloud Run, it works. I use the command below to do this:
`gcloud run deploy <job> --image <image> --tag <tag> --project=<project> --region <region>` [Cloud Run Documentation]
However, when this command is done via script, couple of problems arise:
1. It is untagging all the existing Revision Tags on other previous jobs in that same service, and those existing Revision Tags were not the same as the new one I was deploying.
2. In addition, when a deploy fails in the script, Cloud Run is removing all existing Revision Tags on jobs under the service it attempted to deploy a job to.
Solved! Go to Solution.
Hi @soojinhung,
Welcome to Google Cloud Community!
Potential Causes:
Solutions:
Recommendations:
By following these steps, you can avoid unexpected tag removal and ensure smooth deployments.
Hi @soojinhung,
Welcome to Google Cloud Community!
Potential Causes:
Solutions:
Recommendations:
By following these steps, you can avoid unexpected tag removal and ensure smooth deployments.