push_image
Pushes a local Docker image to a container registry by tagging it with the specified repository and tag.
Instructions
Tags a local Docker image with a registry repository name and pushes it
(e.g. Docker Hub, AWS ECR). Requires that you have already run docker login
locally — this tool does not accept credentials.
Args:
local_image: the image currently on your machine, e.g. "my-app:latest"
repository: full destination repository name, e.g. "myusername/my-app"
or "123456789012.dkr.ecr.eu-west-1.amazonaws.com/my-app"
image_tag: tag to push, e.g. "latest" or "v1.0"
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"local_image": "<local_image>",
"repository": "<repository>"
},
"name": "push_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_tag | No | latest | |
| repository | Yes | ||
| local_image | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |