Amazon ECR · Arazzo Workflow
Amazon ECR Decommission Repository
Version 1.0.0
Inventory a repository's images, then delete it with a force branch when images remain.
View Spec
View on GitHub
Amazon Web ServicesContainer ImagesContainer RegistryContainersDockerECROCIArazzoWorkflows
Provider
Workflows
decommission-repository
List a repository's images then delete it, forcing deletion when images remain.
Lists the repository's image IDs and branches: an empty repository is deleted directly, while a non-empty repository is deleted with the force flag so its images are removed as part of deletion.
1
listImages
listImages
List the image IDs the repository contains to decide whether deletion must be forced.
2
forceDeleteRepository
deleteRepository
Delete the repository with the force option so its contained images are removed as part of the deletion.
3
deleteEmptyRepository
deleteRepository
Delete the repository directly when it holds no images, leaving the force flag off.