AWS – AWS CodePipeline now supports publishing ECR image and AWS InspectorScan as new actions
AWS CodePipeline introduces the ECRBuildAndPublish action and the AWS InspectorScan action in its action catalog. The ECRBuildAndPublish action enables you to easily build a docker image and publish it to ECR as part of your pipeline execution. The InspectorScan action enables you to scan your source code repository or docker image as part of your pipeline execution.
Previously, if you wanted to build and publish a docker image, or run vulnerability scan, you had to create a CodeBuild project, configure the project with the appropriate commands, and add a CodeBuild action to your pipeline to run the project. Now, you can simply add these actions to your pipeline, and let the pipeline handle the rest for you.
To learn more about using the ECRBuildAndPublish action in your pipeline, visit our documentation. To learn more about using the InspectorScan action in your pipeline, visit our documentation. For more information about AWS CodePipeline, visit our product page. These new actions are available in all regions where AWS CodePipeline is supported, except the AWS GovCloud (US) Regions and the China Regions.
Read More for the details.