Tag a Docker image.
type: "io.kestra.plugin.docker.Tag"Examples
Tag an existing Docker image
id: tag_image
namespace: company.team
tasks:
- id: tag
type: io.kestra.plugin.docker.Tag
sourceImage: my-app:build-123
targetImage: my-registry.example.com/prod/my-app:1.0.0
Properties
sourceImage *Requiredstring
Source image name or ID.
targetImage *Requiredstring
Target image name.
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
host string
The URI of your Docker host e.g. localhost
Definitions
Credentials for a private container registry.
auth string
The registry authentication.
The auth field is a base64-encoded authentication string of username: password or a token.
identityToken string
The identity token.
password string
The registry password.
registry string
The registry URL.
If not defined, the registry will be extracted from the image name.
registryToken string
The registry token.
username string
The registry username.