push_image
Tags a local Docker image with a registry repository and pushes it. Requires Docker login to be configured locally.
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"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_tag | No | latest | |
| repository | Yes | ||
| local_image | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |