image_tag
Assign a tag to a local Docker image to create an alias for registry-qualified naming, enabling subsequent push operations.
Instructions
Tag an image into a repository (add a name to an existing local image).
The image id stays the same and no data is copied — a tag is an alias. Typical flow: tag with
the registry-qualified name, then image_push. image_remove on a tag merely untags while
other names remain.
args: id_or_name - The source image name or id repository - Target repository name (registry-qualified for pushing, e.g. "ghcr.io/o/r") tag - Optional tag for the new image (default "latest") force - Force the tag returns: bool - True if the image was tagged
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| force | No | ||
| id_or_name | Yes | ||
| repository | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |