cnabio/cnab-go

Refactor: Inv Image validation should use docker/distribution to parse

Opened this issue · 0 comments

vdice commented

Currently, in func (img InvocationImage) Validate() from bundle/bundle.go, we validate an image type is docker or oci via a custom validateDockerish function. We should remove this and use Parse from docker/distribution instead. For further context, see #191 (comment)