https://github.com/chainguard-dev/platform-examples
Example apps demonstrating Chainguard platform integrations
https://github.com/chainguard-dev/platform-examples
apis chainguard cloudevents
Last synced: about 2 months ago
JSON representation
Example apps demonstrating Chainguard platform integrations
- Host: GitHub
- URL: https://github.com/chainguard-dev/platform-examples
- Owner: chainguard-dev
- Created: 2022-08-08T11:35:48.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-29T02:11:05.000Z (about 1 year ago)
- Last Synced: 2024-04-29T03:25:19.021Z (about 1 year ago)
- Topics: apis, chainguard, cloudevents
- Language: Go
- Homepage: https://edu.chainguard.dev
- Size: 523 KB
- Stars: 4
- Watchers: 3
- Forks: 13
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chainguard Platform Examples
This repo holds a number of example apps demonstrating integrations with Chainguard platform APIs, and various [Chainguard Events](https://edu.chainguard.dev/chainguard/chainguard-enforce/reference/events/).
- [GCP Image Copier](./image-copy-gcp/) - copies images to Google Artifact Registry when an image is pushed to cgr.dev
- [ECR Image Copier](./image-copy-ecr/) - copies images to Amazon Elastic Container Registry when an image is pushed to cgr.dev
- [AWS Auth Example](./aws-auth/) - demonstrates configuration of an AWS assumable Chainguard identity, as well as calling the Chainguard API from a Lambda function
- [Tag History Example](./tag-history/) - demonstrates how to use the Chainguard API to track tag history for images in a registry
- [Image Diff Example](./image-diff/) - demonstrates how to use the Chainguard API to compare images in a registry> [!NOTE]
> These examples are intended to be used as a reference for building your own Chainguard platform integrations.
> They can be used directly as-is, but are not intended to be production-ready and may experience breaking changes or be removed entirely.
> You can reference these examples in your own Terraform configs, but we recommend that you pin a specific commit to avoid unexpected changes.
> For example:```hcl
module "image-copy" {
source = "github.com/chainguard-dev/platform-examples/image-copy-gcp/iac?ref=a1b2c3d4"project_id = "..."
group = "..."
}