Pushes an image to a remote Docker container registry e.g. Docker Hub, Amazon ECR, Microsoft ACR. To push the image we need to configure the Docker Registry Account, Please refer to the link to set up the Docker Registry Account: Docker Registry Setup For Cloud Providers. Depending on the size of the image it is not uncommon for this operation to take several minutes to complete. This operation uses Docker CLI, it requires the docker executable to be on the path of the docker endpoint.
Target Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Docker Unix Socket |
| No | The socket the Docker daemon listens on. Required if Docker Server and Docker Port are not set. Default value is [/var/run/docker.sock] |
Docker Server Address |
| No | The IP address of the Docker server. Required if Docker Unix Socker is not set. |
Docker Port |
| No | The port the Docker service is listening on. Required if Docker Unix Socker is not set. |
Docker Registry Account |
| No | The Docker Registry Account Code. The plugin input Please refer to the link to set up the Docker Registry Account: Docker Registry Setup For Cloud Providers |
Project Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Docker Repository Name |
| No | Provide docker repository name with optional namespace. i.e. foo/bar or bar. The plugin input |
Docker Image Tag |
| No | The specific tag to push. If blank, all tags for the image will be pushed. Use comma-separated values to specify multiple tags. For example: 1.0,2.0,3.0 . The plugin input |
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
Docker Repository Name |
| No | Provide docker repository name with optional namespace. i.e. foo/bar or bar. This input will take priority over the |
Image Tag |
| No | The specific tag to push. If blank, all tags for the image will be pushed. Use comma-separated values to specify multiple tags. For example: 1.0,2.0,3.0 . This input will take priority over the |
Docker Registry Account |
| No | The Docker Registry Account Code. There are a couple different spots to specify this for convenience. In order of precedence:
Please refer to the link to set up the Docker Registry Account: Docker Registry Setup For Cloud Providers |
Additional Options |
| No | Add any additional options not listed above, which will be added to the push command. e.g. --quiet |
Artifacts
This operation doesn’t consume or produce any artifacts.
Endpoint Selection
This operation delegates the selection to the workflow developer to determine.
Endpoint Execution
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
Special Considerations
Depending on the bandwidth and image size this operation may take several minutes to complete.