Skip to content

dsdk / v1.47 / ImagePushData

Type Alias: ImagePushData ​

ImagePushData: object

Type declaration ​

NameTypeDescription
headersobject-
headers.X-Registry-AuthstringA base64url-encoded auth configuration. Refer to the authentication section for details.
pathobject-
path.namestringName of the image to push. For example, registry.example.com/myimage. The image must be present in the local image store with the same name. The name should be provided without tag; if a tag is provided, it is ignored. For example, registry.example.com/myimage:latest is considered equivalent to registry.example.com/myimage. Use the tag parameter to specify the tag to push.
query?object-
query.platform?stringJSON-encoded OCI platform to select the platform-variant to push. If not provided, all available variants will attempt to be pushed. If the daemon provides a multi-platform image store, this selects the platform-variant to push to the registry. If the image is a single-platform image, or if the multi-platform image does not provide a variant matching the given platform, an error is returned. Example: {"os": "linux", "architecture": "arm", "variant": "v5"}
query.tag?stringTag of the image to push. For example, latest. If no tag is provided, all tags of the given image that are present in the local image store are pushed.