diff --git a/pkg/apis/build/v1beta1/buildrun_conversion.go b/pkg/apis/build/v1beta1/buildrun_conversion.go index a7159cfea9..6690b2dfd9 100644 --- a/pkg/apis/build/v1beta1/buildrun_conversion.go +++ b/pkg/apis/build/v1beta1/buildrun_conversion.go @@ -126,6 +126,11 @@ func (src *BuildRun) ConvertTo(ctx context.Context, obj *unstructured.Unstructur Bundle: (*v1alpha1.BundleSourceResult)(src.Status.Source.OciArtifact), }) } + if src.Status.Source != nil && src.Status.Source.Timestamp != nil { + if len(sourceStatus) > 0 { + sourceStatus[0].Timestamp = src.Status.Source.Timestamp + } + } conditions := []v1alpha1.Condition{}