Skip to content

Instantly share code, notes, and snippets.



Created Jul 26, 2020
What would you like to do?
R Functions Framework Deploy
# Set env var "GCP_PROJECT" to our project name
GCP_PROJECT=$(gcloud config list --format 'value(core.project)' 2>/dev/null)
# Build and upload your image in Google Container Registry
gcloud builds submit \
--tag$GCP_PROJECT/hellor \
# Deploy your container to Cloud Run
gcloud run deploy hellor \
--image$GCP_PROJECT/hellor \
--platform managed \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.