Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Latest commit

 

History

History
57 lines (41 loc) · 1.4 KB

README.md

File metadata and controls

57 lines (41 loc) · 1.4 KB

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.

    git clone --recurse-submodules [email protected]:bluk/gcp-cloud-builders.git
    # or
    git clone --recursive [email protected]:bluk/gcp-cloud-builders.git
    
    cd gcp-cloud-builders
    cd swift-build-tools
    
  2. Submit a one-time build job to create the images in your Google Cloud project's container registry.

    gcloud builds submit . --config=cloudbuild.yaml
    

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

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

    steps:
      - name: 'gcr.io/$PROJECT_ID/swift-build-tools'
        args:
          - 'swift'
          - 'build'
    

Related Links

License

Apache-2.0 License