Skip to content
Instructions for adding a Cloud Run Deploy button to a README.md
Branch: master
Clone or download
Latest commit ac05a47 May 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile Update Dockerfile May 8, 2019
README.md spell em out Apr 30, 2019

README.md

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.

You can’t perform that action at this time.