{"id":15108570,"url":"https://github.com/googlecloudplatform/cloud-builders-community","last_synced_at":"2025-05-14T03:07:25.056Z","repository":{"id":37622909,"uuid":"108133503","full_name":"GoogleCloudPlatform/cloud-builders-community","owner":"GoogleCloudPlatform","description":"Community-contributed images for Google Cloud Build","archived":false,"fork":false,"pushed_at":"2025-02-18T23:16:56.000Z","size":11603,"stargazers_count":1275,"open_issues_count":132,"forks_count":855,"subscribers_count":60,"default_branch":"master","last_synced_at":"2025-03-30T15:42:30.653Z","etag":null,"topics":["build","docker","google-cloud-build","google-cloud-platform","google-containers"],"latest_commit_sha":null,"homepage":"https://cloud.google.com/cloud-build/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GoogleCloudPlatform.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-24T13:49:44.000Z","updated_at":"2025-02-27T07:38:54.000Z","dependencies_parsed_at":"2023-02-18T09:00:43.079Z","dependency_job_id":"305e7bdb-f327-4dc7-b619-9bdd54ba62ee","html_url":"https://github.com/GoogleCloudPlatform/cloud-builders-community","commit_stats":{"total_commits":637,"total_committers":236,"mean_commits":"2.6991525423728815","dds":0.967032967032967,"last_synced_commit":"b86a8b7c3b3a27b8c5de0bd220af4d1eae14d4de"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fcloud-builders-community","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fcloud-builders-community/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fcloud-builders-community/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fcloud-builders-community/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GoogleCloudPlatform","download_url":"https://codeload.github.com/GoogleCloudPlatform/cloud-builders-community/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248261928,"owners_count":21074225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["build","docker","google-cloud-build","google-cloud-platform","google-containers"],"created_at":"2024-09-25T22:04:16.924Z","updated_at":"2025-04-10T17:17:56.438Z","avatar_url":"https://github.com/GoogleCloudPlatform.png","language":"Go","readme":"# Google Cloud Build community images\n\nThis repository contains source code for community-contributed Docker images. You can use these images as build steps for\n[Google Cloud Build](https://cloud.google.com/cloud-build/docs/).\n\nThese are not official Google products.\n\n## How to use a community-contributed build step\n\nGoogle Cloud Build executes a build as a series of build steps. Each build step is run in a Docker container. See\nthe [Cloud Build documentation](https://cloud.google.com/cloud-build/docs/overview) for more details\nabout builds and build steps.\n\n### Before you begin\n\n1.  Select or create a [Google Cloud project](https://console.cloud.google.com/cloud-resource-manager).\n2.  Enable [billing for your project](https://support.google.com/cloud/answer/6293499#enable-billing).\n3.  Enable [the Cloud Build API](https://console.cloud.google.com/flows/enableapi?apiid=cloudbuild.googleapis.com).\n4.  Install and initialize [the Cloud SDK](https://cloud.google.com/sdk/docs/).\n\n### Build the build step from source\n\nTo use a community-contributed Docker image as a build step, you need to download the source code from this\nrepo and build the image.\n\nThe example below shows how to download and build the image for the `packer` build step on a Linux or Mac OS X workstation:\n\n1. Clone the `cloud-builders-community` repo:\n\n   ```sh\n   $ git clone https://github.com/GoogleCloudPlatform/cloud-builders-community\n   ```\n\n2. Go to the directory that has the source code for the `packer` Docker image:\n\n   ```sh\n   $ cd cloud-builders-community/packer\n   ```\n\n3. Build the Docker image:\n\n   ```\n   $ gcloud builds submit --config cloudbuild.yaml .\n   ```\n\n4. View the image in Google Container Registry:\n\n   ```sh\n   $ gcloud container images list --filter packer\n   ```\n\n### Use the build step with Cloud Build build\n\nOnce you've built the Docker image, you can use it as a build step in a Cloud Build build.\n\nFor example, below is the `packer` build step in a YAML\n[config file](https://cloud.google.com/cloud-build/docs/build-config), ready to be used in a Cloud Build build:\n\n   ```yaml\n   - name: 'gcr.io/$PROJECT_ID/packer'\n     args:\n     - build\n     - -var\n     - project_id=$PROJECT_ID\n     - packer.json\n   ```\n\nEach build step's `examples` directory has an example of how you can use the build step. See the\n[example for the `packer` builder](https://github.com/GoogleCloudPlatform/cloud-builders-community/tree/master/packer/examples/gce).\n\n## Contributing\n\nWe welcome contributions!  See [CONTRIBUTING](CONTRIBUTING.md) for more information on how to get started.\nPlease include a `cloudbuild.yaml` and at least one working example in your\n[pull request](https://help.github.com/articles/about-pull-requests/).\n\n### Contribution Requirements\n\nIn order to accept your contribution, it must:\n\n* make clear that the builder image is pushed to the builder's project's registry.\n  E.g., it specifies `images: ['gcr.io/$PROJECT_ID/the-tool']`. The builder will\n  not be pushed to the `gcr.io/cloud-builders` registry.\n* include a simple sanity test in the `cloudbuild.yaml` config that builds and\n  pushes the image. This can be as simple as invoking the tool with `--help`, and\n  it ensures the tool is installed correctly and in the expected location within\n  the image.\n* include some basic example describing how to use it. This helps new users get\n  acquainted with the builder, and helps us ensure the builder continues to work\n  as intended.\n\n## License\n\nThis source code is licensed under Apache 2.0. Full license text is available in [LICENSE](LICENSE).\n\n## Support\n\nTo file issues and feature requests against these builder images, the usage of these build steps or the Cloud Build API in general, [create an issue in this repo](https://github.com/GoogleCloudPlatform/cloud-builders-community/issues/new).\n\nIf you are experiencing an issue with the Cloud Build service or have a feature request, e-mail google-cloud-dev@googlegroups.com or see our [Getting support](https://cloud.google.com/cloud-build/docs/getting-support) documentation.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglecloudplatform%2Fcloud-builders-community","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgooglecloudplatform%2Fcloud-builders-community","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglecloudplatform%2Fcloud-builders-community/lists"}