-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Labels
@aws-cdk/aws-codepipeline-actionseffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2
Description
Describe the feature
AWS CodePipeline introduces new build action: ECRBuildAndPublish action.
- What's new: https://aws.amazon.com/jp/about-aws/whats-new/2024/11/aws-codepipeline-publishing-ecr-image-aws-inspectorscan-actions/
- Ref: https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference-ECRBuildAndPublish.html
- Tutorial: https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-ecr-build-publish.html
- IAM management: https://docs.aws.amazon.com/codepipeline/latest/userguide/security-iam.html#how-to-custom-role
Use Case
The ECRBuildAndPublish action enables you to easily build and publish images to ECR as part of your pipeline execution. This build action allows you to automate building and pushing a new image when a change occurs in your source. This action builds based on a specified Docker file location and pushes the image.
This action allows you to build and publish images without first creating a CodeBuild project in pipelines.
Proposed Solution
Add ECRBuildAndPublishAction class that extends Action class to aws-codepipeline-actions module.
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
CDK version used
2.178.1
Environment details (OS name and version, etc.)
Mac
moltar
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-codepipeline-actionseffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2