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
npm install --save --save-exact @blitzm/azure-cdn
Usage
import { AzureCDN } from '@blitzm/azure-cdn'
const dockerRepo = new AWSContainerRegistry("my-docker-repo", {
pushAccess: [cluster.nodeRole],
pullAccess: [cluster.nodeRole]
});
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