What problem does it solve?
Programmatic management of container images, manifests, tags, and repositories in Azure Container Registry so engineers can automate maintenance, CI/CD integrations, and cleanup tasks without relying on manual Docker CLI operations.
Core Features & Use Cases
- Repository and Tag Discovery: List repositories and tag properties to inventory images across a registry.
- Manifest and Artifact Management: Inspect, download, update, and delete manifests and blobs with streaming support.
- Safe Cleanup & Locking: Identify and remove untagged or old manifests safely by digest and lock production images using can_delete/can_write flags.
- Sync and Async Support: Use both synchronous and asynchronous ContainerRegistryClient patterns for different throughput needs.
- Use Case: Integrate into CI/CD pipelines to automatically scan registries, lock production images, and purge untagged manifests older than a retention cutoff.
Quick Start
Use the azure-containerregistry-py skill to list repositories, inspect tags, and remove untagged manifests older than 30 days from your AZURE_CONTAINERREGISTRY_ENDPOINT.