Automating Amazon Elastic Container (ECR) container builds using Bitbucket Pipelines

Automating Amazon Elastic Container (ECR) container builds using Bitbucket Pipelines

This post was written by Bitbucket user Ayush Sharma. 

[…]

The method works for any container registry that understands docker commands, but today we use AWS Elastic Compute Registry as our target.

[…]

To build and push our Docker image to ECR, we're going to need the following:

[…]

With our Dockerfile ready and tested, we're ready to create our ECR repository.

[…]

With everything set, we're now ready to test our deployment. To do this, commit and push the Dockerfile and bitbucket-pipelines.yml files we created above, and create a tag in the format ecr-release-*.

[…]