Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tmokmss authored Feb 24, 2024
1 parent 9424539 commit 5e2dda4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ Build and push a SOCI index in an alternative way.
This CLI is used in [`deploy-time-build`](https://github.com/tmokmss/deploy-time-build?tab=readme-ov-file#build-soci-index-for-a-container-image), a CDK construct to build and deploy a SOCI index on CDK deployment.

## Usage
It can only be built on Linux environment.
Pass 4 arguments to the CLI as below:

```sh
soci-wrapper REPOSITORY_NAME DIGEST AWS_REGION AWS_ACCOUNT
soci-wrapper REPOSITORY_NAME IMAGE_DIGEST AWS_REGION AWS_ACCOUNT
```

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

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

0 comments on commit 5e2dda4

Please sign in to comment.