Skip to main content

push_docker_image

Function push_docker_image 

Source
pub fn push_docker_image(image_name: &str) -> Result<(), String>
Expand description

Pushes a Docker image to the Docker registry.

§Arguments

  • image_name - The name of the Docker image to push.

§Returns

A result indicating if the Docker image was pushed successfully or an error message