项目作者: bluk

项目描述 :
Unofficial Google Cloud Build images.
高级语言: Dockerfile
项目地址: git://github.com/bluk/gcp-cloud-builders.git
创建时间: 2018-09-04T16:28:00Z
项目社区:https://github.com/bluk/gcp-cloud-builders

开源协议:Apache License 2.0

下载


Cloud Builders

Contains unsupported Google Cloud Build
image definitions.

Getting Started

  1. To build one of the images, clone this repository and change to the directory
    of the image you want.

    1. git clone --recurse-submodules git@github.com:bluk/gcp-cloud-builders.git
    2. # or
    3. git clone --recursive git@github.com:bluk/gcp-cloud-builders.git
    4. cd gcp-cloud-builders
    5. cd swift-build-tools
  2. Submit a one-time build job to create the images in your Google Cloud
    project’s container registry.

    1. gcloud builds submit . --config=cloudbuild.yaml

    You may have to install the beta components to get the gcloud builds
    command.

    1. gcloud components install beta
  3. Then in your project’s cloudbuild.yaml, use the built image like:

    1. steps:
    2. - name: 'gcr.io/$PROJECT_ID/swift-build-tools'
    3. args:
    4. - 'swift'
    5. - 'build'

License

Apache-2.0 License