Amazon ECR · Arazzo Workflow

Amazon ECR Publish Image

Version 1.0.0

Confirm a repository exists, put an image manifest, then read the image back.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub Amazon Web ServicesContainer ImagesContainer RegistryContainersDockerECROCIArazzoWorkflows

Provider

amazon-ecr

Workflows

publish-image
Put an image manifest into a repository and verify it with BatchGetImage.
Confirms the target repository exists, pushes an image manifest with its media type and tag, and reads the image back to confirm it was stored.
3 steps inputs: imageManifest, imageManifestMediaType, imageTag, repositoryName outputs: image, images, repositories
1
confirmRepository
Describe the target repository to confirm it is registered before attempting to put an image into it.
2
putImage
Create or update the image manifest and tag associated with the image in the confirmed repository.
3
verifyImage
Read the image back through BatchGetImage using the published tag to confirm the manifest was stored.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon ECR Publish Image
  summary: Confirm a repository exists, put an image manifest, then read the image back.
  description: >-
    Publishes a container image manifest into an existing Amazon ECR repository
    and verifies the result. The flow first describes the target repository to
    confirm it is registered, then puts the image manifest with its media type
    and tag, and finally reads the image back through BatchGetImage to confirm
    the manifest and tag were stored. Every step spells out its AWS JSON request
    inline, including the documented X-Amz-Target header, so the flow can be read
    and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: batchgetimageApi
  url: ../openapi/amazon-ecr-batchgetimage-api-openapi.yml
  type: openapi
- name: describerepositoriesApi
  url: ../openapi/amazon-ecr-describerepositories-api-openapi.yml
  type: openapi
- name: putimageApi
  url: ../openapi/amazon-ecr-putimage-api-openapi.yml
  type: openapi
workflows:
- workflowId: publish-image
  summary: Put an image manifest into a repository and verify it with BatchGetImage.
  description: >-
    Confirms the target repository exists, pushes an image manifest with its
    media type and tag, and reads the image back to confirm it was stored.
  inputs:
    type: object
    required:
    - repositoryName
    - imageManifest
    - imageTag
    properties:
      repositoryName:
        type: string
        description: The repository in which to put the image.
      imageManifest:
        type: string
        description: The image manifest corresponding to the image to upload.
      imageManifestMediaType:
        type: string
        description: The media type of the image manifest.
      imageTag:
        type: string
        description: The tag to associate with the image.
  steps:
  - stepId: confirmRepository
    description: >-
      Describe the target repository to confirm it is registered before
      attempting to put an image into it.
    operationId: describeRepositories
    parameters:
    - name: X-Amz-Target
      in: header
      value: AmazonEC2ContainerRegistry_V20150921.DescribeRepositories
    requestBody:
      contentType: application/x-amz-json-1.1
      payload:
        repositoryNames:
        - $inputs.repositoryName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      repositories: $response.body#/repositories
  - stepId: putImage
    description: >-
      Create or update the image manifest and tag associated with the image in
      the confirmed repository.
    operationId: putImage
    parameters:
    - name: X-Amz-Target
      in: header
      value: AmazonEC2ContainerRegistry_V20150921.PutImage
    requestBody:
      contentType: application/x-amz-json-1.1
      payload:
        repositoryName: $inputs.repositoryName
        imageManifest: $inputs.imageManifest
        imageManifestMediaType: $inputs.imageManifestMediaType
        imageTag: $inputs.imageTag
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      image: $response.body#/image
  - stepId: verifyImage
    description: >-
      Read the image back through BatchGetImage using the published tag to
      confirm the manifest was stored.
    operationId: batchGetImage
    parameters:
    - name: X-Amz-Target
      in: header
      value: AmazonEC2ContainerRegistry_V20150921.BatchGetImage
    requestBody:
      contentType: application/x-amz-json-1.1
      payload:
        repositoryName: $inputs.repositoryName
        imageIds:
        - imageTag: $inputs.imageTag
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      images: $response.body#/images
      failures: $response.body#/failures
  outputs:
    repositories: $steps.confirmRepository.outputs.repositories
    image: $steps.putImage.outputs.image
    images: $steps.verifyImage.outputs.images

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/amazon-ecr-publish-image-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.