Blitzm Cloud - ecr-client
@blitzm/bach-ecr-client is a pulumi component that helps pushing docker image ECR repository by using the URL of the repository.
Installation
This package can be installed using npm
npm install --save --save-exact @blitzm/ecr-client
Usage
import { ECRClient } from '@blitzm/ecr-client'
const apiECR = new ECRClient("api-ecr-repo", {
repositoryUrl: "<repo-url>",
});
apiECR.buildAndPushImage(
{
context: path.join(__dirname, "..", "api"),
},
`api:v1`
),
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.