Skip to content

PutImage

Source: src/AWS/ECRPublic/PutImage.ts

Runtime binding for ecr-public:PutImage.

Creates or updates an image manifest in the bound PublicRepository — the final step of an image push after all referenced layers are uploaded (InitiateLayerUploadUploadLayerPartCompleteLayerUpload). Provide the implementation with Effect.provide(AWS.ECRPublic.PutImageHttp).

// init
const putImage = yield* AWS.ECRPublic.PutImage(repository);
// runtime
const result = yield* putImage({
imageManifest: JSON.stringify(manifest),
imageManifestMediaType: "application/vnd.oci.image.manifest.v1+json",
imageTag: "latest",
});