Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.23 KB

README.md

File metadata and controls

48 lines (32 loc) · 1.23 KB

Dazlab's custom Google Cloud Build images

This repository contains source code for Dazlab's custom Docker images used in Google Cloud Build.

Prerequisites

  • Google Cloud project created with Billing enabled
  • Cloud Build API enabled
  • gcloud CLI installed

Installation

To use these build images in your Google Cloud Project, do the following

  1. Clone this source repo.
  2. Go to the selected image, and schedule a build from the command line.

Example commands for heroku image:

git clone https://github.com/dazlab-team/gcp-builders.git
cd gcp-builders/heroku
gcloud --project=<your GCP project ID> builds submit .

Using the image

Based on the the example above, here's how to use the installed heroku image:

steps:
- name: gcr.io/$PROJECT_ID/heroku
  args: ['login']
  env: ["HEROKU_API_KEY=XXXXXXXXXXXXX"]

See also more examples in the image's README.

License

This source code is licensed under Apache 2.0. Full license text is available in LICENSE.

Links