When generating provenance from a TaskRun Chains looks for *IMAGE_URL and *IMAGE_DIGEST results types to figure out what artifact was actually built. This is what goes into the subject section of the provenance. Right now, we assume OCI images were built and only have support for them.
I was thinking that we could rename these results to something more generic, like *ARTIFACT_NAME and *ARTIFACT_DIGEST so that other types of subjects could be included in provenance. We can still infer if something is an OCI image, but now we can also support generic files that may have been built in the TaskRun along with digests for them. This could be useful if something other than an image is being built and published from a TaskRun.
The only thing I'm not sure about is if we should also be signing these ARTIFACTs if they aren't OCI images. If a TaskRun builds and publishes a binary somewhere, should Chains be responsible for signing it somehow if it's being included in provenance?