# @blitzm/aws-container-registry

> @blitzm/azure-cdn is a typescript library for simplifying the process of creating a ECR and pushing docker image to the ECR

Latest version **0.2.1** (published 2023-06-28) · Blitzm license · 0 weekly downloads

## Install

```sh
npm install @blitzm/aws-container-registry
pnpm add @blitzm/aws-container-registry
yarn add @blitzm/aws-container-registry
bun add @blitzm/aws-container-registry
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2023-06-28 |
| First published | 2020-07-27 |
| Weekly downloads | 0 |
| License | Blitzm |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 17.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | tim-blitzm, blitzm-sean, blitzm-admin, blitzm-james |

## Links

- npm: https://www.npmjs.com/package/@blitzm/aws-container-registry
- npm.io page: https://npm.io/package/@blitzm/aws-container-registry

## Recent versions

- 0.2.1 (latest) — 2023-06-28
- 0.2.0 — 2023-01-18
- 0.1.0 — 2020-07-27

## README

# Blitzm Cloud - AWS Container Registry

@blitzm/azure-cdn is a typescript library for simplifying the process of creating a ECR and pushing docker image to the ECR

## Installation

This package can be installed using [npm](https://www.npmjs.com/)

```bash
npm install --save --save-exact @blitzm/azure-cdn
```

## Usage

```typescript
import { AWSContainerRegistry } from "@blitzm/aws-container-registry"

const dockerRepo = new AWSContainerRegistry("my-docker-repo", {
    // allow push access from your cluster
    pushAccess: [cluster.nodeRole],
    // allow pull access from your cluster
    pullAccess: [cluster.nodeRole]
  });

// Build the push the image
// The result is the unique ID pointing to that pushed image in this repo.
const imageName = new dockerRepo.buildAndPushImage('app', {
  context: path.resolve(__dirname, '../app/')
  })
```


## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

## License

[Blitzm](https://www.blitzm.com.au)

---
_Source: https://npm.io/package/@blitzm/aws-container-registry · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
