Use this action to copy a remote image from a source to a destination with crane, a tool for managing container images.
Prerequisites
Before invoking the action, you must have a Docker config file in the ${HOME}/.docker/config.json
path. This file is used to authenticate with the Docker registry.
Use either of the below actions to generate a Docker config file.
-
The ECR credentials configuration action, for authenticating to an AWS ECR registry.
If your source and destination registries are different, you must authenticate to both registries. Invoke the Docker registry authentication action separately for those registries before invoking the crane action. |
All CloudBees action repositories are listed at CloudBees, Inc. on GitHub. |
Inputs
Input name | Data type | Required? | Description |
---|---|---|---|
|
String |
Yes |
The source image to copy. |
|
String |
Yes |
The destination image. |
|
String |
No |
Specifies the platform in the format |
|
String |
No |
Default is |