// getBuildImage returns the image name from box or plaftorm. func (p *dockerProvisioner) getBuildImage(re *repository.Repo, version string) string { if p.usePlatformImage(re) { return platformImageName(re.Gitr()) } return fmt.Sprintf("%s:%s", re.Gitr(), version) }
// getBuildImage returns the image name from box or tosca. func (p *oneProvisioner) getBuildImage(re *repository.Repo, version string) string { if p.usePlatformImage(re) { return p.defaultImage } return re.Gitr() //return the url }