charmcraft upload-resource should be able to upload an OCI image directly from a file rather than requiring a digest and extracting it from a registry.
Why it needs to get done
It's silly to have to rockcraft pack, then upload to a registry, only for charmcraft to download from the registry when uploading to charmhub.
What needs to get done
charmcraft upload-resource
should be able to upload an OCI image directly from a file rather than requiring a digest and extracting it from a registry.Why it needs to get done
It's silly to have to
rockcraft pack
, then upload to a registry, only for charmcraft to download from the registry when uploading to charmhub.This will also work as a workaround for https://github.com/canonical/charmcraft/issues/1685