Contains unsupported Google Cloud Build image definitions.
-
To build one of the images, clone this repository and change to the directory of the image you want.
git clone --recurse-submodules git@github.com:bluk/gcp-cloud-builders.git # or git clone --recursive git@github.com:bluk/gcp-cloud-builders.git cd gcp-cloud-builders cd swift-build-tools
-
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
-
Then in your project's
cloudbuild.yaml
, use the built image like:steps: - name: 'gcr.io/$PROJECT_ID/swift-build-tools' args: - 'swift' - 'build'