Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions cmds/ecrplugin/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# AWS Elastic Container Registry Repository Creation Plugin

The goal of the plugin is to assure the existence of required AWS Elastic Container Registry repositories, when used with OCM CLI.

## Usage

1. Install the latest version of the plugin with OCM CLI:

```console
ocm install plugin ghcr.io/open-component-model/ocm//ocm.software/plugins/ecrplugin
```

2. Configure an `ocmconfig`with credentials:

```yaml
configurations:
- type: credentials.config.ocm.software
consumers:
- identity:
type: AWS
credentials:
- type: Credentials
properties:
awsAccessKeyID: "xxx"
awsSecretAccessKey: "yyy"
```

3. Do `ocm transfer`. The plugin will be called automatically and make sure the target repository exists,
if the URL of the target repository fits to the pattern defined [here](https://github.com/open-component-model/ocm/blob/main/cmds/ecrplugin/actions/action.go#L110)
Loading