canonical / charmcraft

Collaborate, build and publish charmed operators for Kubernetes, Linux and Windows.
Apache License 2.0
64 stars 66 forks source link

Add option to `upload-resource` to upload an OCI image directly from a file. #1693

Closed lengau closed 1 month ago

lengau commented 1 month ago

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

syncronize-issues-to-jira[bot] commented 1 month ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-2992.

This message was autogenerated

lengau commented 1 month ago

Duplicate of #1684