github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/actor/v7pushaction/create_docker_package_for_application.go (about) 1 package v7pushaction 2 3 func (actor Actor) CreateDockerPackageForApplication(pushPlan PushPlan, eventStream chan<- *PushEvent, progressBar ProgressBar) (PushPlan, Warnings, error) { 4 eventStream <- &PushEvent{Plan: pushPlan, Event: SetDockerImage} 5 6 pkg, warnings, err := actor.V7Actor.CreateDockerPackageByApplication(pushPlan.Application.GUID, pushPlan.DockerImageCredentials) 7 if err != nil { 8 return pushPlan, Warnings(warnings), err 9 } 10 11 eventStream <- &PushEvent{Plan: pushPlan, Event: SetDockerImageComplete} 12 13 polledPackage, pollWarnings, err := actor.V7Actor.PollPackage(pkg) 14 15 pushPlan.PackageGUID = polledPackage.GUID 16 17 return pushPlan, Warnings(append(warnings, pollWarnings...)), err 18 }