use common storage for image content extraction
@@ -152,6 +152,7 @@ func (bs *SourceBuildStrategy) CreateBuildPod(build *buildv1.Build) (*corev1.Pod
}
setupDockerSecrets(pod, &extractImageContentContainer, build.Spec.Output.PushSecret, strategy.PullSecret, build.Spec.Source.Images)
setupContainersConfigs(pod, &extractImageContentContainer)
+ setupContainersStorage(pod, &extractImageContentContainer) // for unprivileged builds
pod.Spec.InitContainers = append(pod.Spec.InitContainers, extractImageContentContainer)
}
pod.Spec.InitContainers = append(pod.Spec.InitContainers,
