Skip to content

dsdk / v1.47 / imagePush

Function: imagePush() ​

imagePush(opts): Promise<ImagePushResponse>

Push an image

Push an image to a registry.

If you wish to push an image on to a private registry, that image must already have a tag which references the registry. For example, registry.example.com/myimage:latest.

The push is cancelled if the HTTP connection is closed.

Parameters ​

ParameterType

opts

ExtendedOptions<ImagePushData>

Returns ​

Promise<ImagePushResponse>