func (p *Action) Push(c *cli.Context) error {
	kstPath := c.String("kustomization-path")
	username := c.String("username")
	password := c.String("password")
	dockerImages, loadErr := p.Io.LoadKustomizationFile(kstPath)
	if loadErr != nil {
		log.Error(loadErr)
		return loadErr
	}
	tagPushErr := p.tagAndPushDockerImages(dockerImages, username, password)
	if tagPushErr != nil {
		log.Error(tagPushErr)
		return tagPushErr
	}
	return nil
}
Push - Push Docker images listed in the kustomization file to the new Docker registry
package push
import (
	"context"
	"github.com/swisscom/korp/docker_utils"
	korpio "github.com/swisscom/korp/io"
	"github.com/docker/docker/api/types"
	log "github.com/sirupsen/logrus"
	"github.com/urfave/cli"
	kust "sigs.k8s.io/kustomize/pkg/image"
)
type Action struct {
	Io korpio.PullPushIo
}