tmokmss / soci-wrapper

MIT License
3 stars 1 forks source link

soci-wrapper

Build and push a SOCI index in an alternative way.

This CLI is used in deploy-time-build, a CDK construct to build and deploy a SOCI index on CDK deployment.

Usage

Pass 4 arguments to the CLI as below:

soci-wrapper REPOSITORY_NAME IMAGE_DIGEST AWS_REGION AWS_ACCOUNT

Sometimes (depending on AWS credential configuration) you will also have to set AWS_REGION environment variable:

export AWS_REGION=us-west-2 # the region your ECR repository is located at

Build

To build this project, you must install all the dependencies of soci-snapshotter.

go build

NOTICE

Most of the code is copied from cfn-ecr-aws-soci-index-builder project.