// amendOutputImageURL amend container image URL based on informed image repository.
amendOutputImageURL amend container image URL based on informed image repository.
// amendOutputImageURL amend container image URL based on informed image repository .
func amendOutputImageURL(b *operator.Build, imageRepo string) {
	if imageRepo == "" {
		return
	}
	imageTag := removeTestIDSuffix(b.Name)
	imageURL := fmt.Sprintf("%s:%s", imageRepo, imageTag)
	b.Spec.Output.ImageURL = imageURL
	Logf("Amended object: name='%s', image-url='%s'", b.Name, imageURL)
}
func amendOutputImageURL ( b * operator . Build , imageRepo string ) { if imageRepo == " " { return } imageTag := removeTestIDSuffix ( b . Name ) imageURL := fmt . Sprintf ( " " , imageRepo , imageTag ) b . Spec . Output . ImageURL = imageURL Logf ( " " , b . Name , imageURL ) }
amendOutputImageURL amend container image URL based on informed image repository.
amendOutputImageURL amend container image URL based on informed image repository .
// image tag is the build name without the test id suffix as this would pollute the container registry