
Docker Tag
CertifiedRetag a Docker image
Docker Tag
Retag a Docker image
Creates a new repository: tag for an existing local image using the Docker daemon.
type: io.kestra.plugin.docker.cli.TagExamples
Tag an existing Docker image
id: tag_image
namespace: company.team
tasks:
- id: tag
type: io.kestra.plugin.docker.cli.Tag
sourceImage: my-app:build-123
targetImage: my-registry.example.com/prod/my-app:1.0.0
Properties
sourceImage *Requiredstring
Source image
Existing image name or ID to retag.
targetImage *Requiredstring
Target image
Repository and tag to create; defaults to latest if no tag is provided.
config stringobject
Docker configuration file
Docker configuration file that can set access credentials to private container registries. Usually located in ~/.docker/config.json.
credentials
Credentials for a private container registry
Credentials for a private container registry.
The registry authentication.
The auth field is a base64-encoded authentication string of username: password or a token.
The identity token.
The registry password.
The registry URL.
If not defined, the registry will be extracted from the image name.
The registry token.
The registry username.
host string
Docker host or URI
The Docker daemon to connect to, e.g. tcp://localhost: 2375 or a Unix socket path. Defaults to the daemon available to the task runner.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.