Post: Push to Docker Hub
Pushes a Docker image of the selected model directly to the user’s Docker Hub repository.
Endpoint:
/deployment/dockerhub/push
Input Parameters:
- model_id (string, required): The model to package and push
- dockerhub_username (string, required): Docker Hub account username
- dockerhub_password (string, required): Docker Hub account password or access token
- repository_name (string, required): Name of the Docker repository
- tag (string, optional): Tag for the image (default: latest)
Output:
Returns a confirmation message with the Docker Hub image URL or error message on failure.