Skip to content

Instructions for adding a Cloud Run Deploy button to a README.md

Notifications You must be signed in to change notification settings

rimusz-lab/cloud-run-button

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Cloud Run Button

Your own fancy button that uses Cloud Shell to deploy a git repo to Cloud Run in two clicks.

Like this:

Run on Google Cloud

To add a Cloud Run deploy button to your project's readme:

  1. Copy & paste this markdown:

    [![Run on Google Cloud](https://storage.googleapis.com/cloudrun/button.png)](https://console.cloud.google.com/cloudshell/editor?shellonly=true&cloudshell_image=gcr.io/cloudrun/button&cloudshell_git_repo=YOUR_HTTP_GIT_URL)
    
  2. Replace YOUR_HTTP_GIT_URL with your HTTP git URL, like: https://github.com/jamesward/hello-kotlin-ktor.git

  3. Make sure the repo is buildable on Google Cloud Build and its build config publishes a container to the Google Container Repository. If you use a cloudbuild.yaml file, the publishing config must use PROJECT_ID and REPO_NAME parameters.

About

Instructions for adding a Cloud Run Deploy button to a README.md

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%