Ensure Repository and Seed Image
A 4-step recipe with Amazon ECR. We can help you get access.
Recipe · 4 steps
Ensure Repository and Seed Image
with Amazon ECR
Create a repository only if absent, then put and verify a seed image.
- Describe the registry for the target repository to decide whether it must be created.
- Create the repository when the lookup found no existing repository.
- Put the seed image manifest and tag into the ensured repository.
- Read the seeded image back through BatchGetImage to confirm the manifest was stored under the supplied tag.
What you'll need to have ready
- repositoryName: The repository to ensure and seed.
- imageManifest: The image manifest corresponding to the seed image.
- imageManifestMediaType: The media type of the image manifest.
- imageTag: The tag to associate with the seed image.
For your developer
Arazzo workflow amazon-ecr:ensure-repository-and-seed-image, 4 operations: DescribeRepositories → CreateRepository → PutImage → BatchGetImage. Specs on APIs.io.