Skip to content

docs: dedicated doc for uploading of OCI images #2428

@sed-i

Description

@sed-i

Please describe the question or issue you're facing with "Manage resources - Charmcraft 3.5.3 documentation".

Trying to upload an oci image, I encountered two issues which I didn't find reference of in the docs:

  1. The skopeo method (DIGEST=$(skopeo inspect $IMAGE | jq -r '.Digest')) for ghcr returned Unknown OCI image reference.
  2. With the docker method (IMAGE_ID=$(docker images -q $IMAGE)) the upload succeeded, but resource-revisions lists amd64 only under platform, even though the tag is multiarch.

It would be handy to have a dedicated doc for uploading OCI images.


Reported from: https://documentation.ubuntu.com/charmcraft/stable/howto/manage-resources/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions