AWS CodeBuild Now Supports Accessing Images from Private Docker Registry

Posted on: Jan 24, 2019

AWS CodeBuild now allows you to access Docker images from any private registry as the build environment. Previously, you could only use Docker images from public DockerHub or Amazon ECR in CodeBuild.  

You can now access any private registry, including ones hosted in Amazon VPC, as the build environment in AWS CodeBuild. You will first store your private registry credentials in AWS Secrets Manager. You will then provide the secret-manager Amazon Resource Name (ARN) or the secret name as the environment level parameter while creating your CodeBuild project. If your private registry is hosted within a VPC, then you must configure the VPC settings in your CodeBuild project. 

To learn more about accessing Images from private docker registry with AWS CodeBuild, visit our documentation. To learn more about how to get started with CodeBuild, visit our product page or the AWS CodeBuild console.

For a full list of AWS Regions where AWS CodeBuild is available, please visit our Region table.