Push Docker image to ECR

Push Docker image to ECR repository

  1. Ensure you have installed the AWS Toolkit. If not, go to IntelliJ IDEA Settings, select Plugins, and search for AWS Toolkit to install it.

    Architect

  2. Click on the AWS Toolkit icon on the right side of IntelliJ IDEA.

    Architect

  3. Select profile and region:

    • For Profile, choose default.
    • For Region, choose ap-southeast-1.

    Architect

  4. Open the Explorer to view all AWS Toolkit-supported services, then select ECR.

    Architect

  5. Right-click on the productsservice repository and choose Push to Repository… to push the Docker image.

    Architect

  6. In the Push to ECR popup:

    • For Local Image, select productsservice:1.0.0.
    • For ECR Repository, choose productsservice.
    • For Remote Tag, enter 1.0.0.
    • Finally, click Push.

    Architect

Check the image on ECR

  1. In the AWS Management Console, navigate to ECR.

    Architect

  2. Select the productsservice repository to view the Docker image version 1.0.0 that has been pushed.

    Architect