Skip to content

michelleirvine/cloud-builders-community

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Cloud Container Builder community images

This repository contains source code for community-contributed builders used with the Google Cloud Container Builder API.

These are not official Google products.

How to use

First, select or create a project, enable billing, enable the Container Builder API, and install and initialize the Cloud SDK.

Then, download the source code and build your builder.

Example: using the packer builder

To use the packer builder on a Linux or Mac OS X workstation:

$ git clone http://github.com/GoogleCloudPlatform/cloud-builders-community
$ cd cloud-builders-community/packer
$ gcloud container builds submit --config cloudbuild.yaml .

View the builder image in Google Container Registry:

$ gcloud container images list --filter packer

Use the builder in your project's cloudbuild.yaml:

- name: 'gcr.io/$PROJECT_ID/packer'
  args:
  - build
  - -var
  - project_id=$PROJECT_ID
  - packer.json

Examples of use are included in each tool's examples directory. View a complete packer example.

Contributing

We welcome your contributions enthusiastically. See CONTRIBUTING for more information on how to get started. Please include a cloudbuild.yaml and at least one working example in your pull request.

License

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

File issues here or e-mail [email protected] if you have questions about the usage of these build steps or the Cloud Container Builder API in general.

About

Community-contributed images for Google Cloud Container Builder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 55.0%
  • Shell 24.0%
  • HTML 18.8%
  • Clojure 2.2%