unable to upload oci-image resource from dockerhub using image digest
Metadata
Current evaluation
Closed by maintainer facundobatista as superseded: charmcraft 1.1.1 (in candidate at the time) reworked OCI uploads to push images from the local machine and always reference them by digest, so the reported remote-digest limitation no longer applied.
Resolution: closed superseded
Reason: facundobatista closed it on 2021-07-12, noting charmcraft 1.1.1 changed OCI resource uploads to come from the user's local machine and always use the digest reference, documented at juju.is/docs/sdk/publishing-resources. The reporter confirmed he was unblocked, attributing the confusion to docs matching1.1.1 ahead of stable.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed superseded | Closed by maintainer facundobatista as superseded: charmcraft 1.1.1 (in candidate at the time) reworked OCI uploads to push images from the local machine and always reference them by digest, so the reported remote-digest limitation no longer applied. | |
| stealth/space-bunny-alpha | — | closed superseded | Closed as superseded by Charmcraft 1.1.1, which changed OCI uploads to use images from the local machine and always reference them by digest. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Superseded by charmcraft 1.1.1, which replaces remote digest uploads with local image uploads using digests. Closed as the upcoming release resolves the parsing limitation. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed. The digest upload failure is resolved in charmcraft 1.1.1, which shifts to local image uploads using digests by default. Author confirmed not blocked and suggested documentation updates. | |
| qwen/qwen3.6-35b-a3b | — | — | Superseded by charmcraft 1.1.1, which shifts OCI image uploads to use local digests. The reported parsing failure is obsolete. Issue closed as superseded. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Superseded by charmcraft 1.1.1, which replaces remote digest lookups with local image uploads. The reported parsing failure is resolved in the upcoming stable release. Closed as the new workflow addresses the limitation. |
Update history
No update history recorded yet.
Related work
-
Superseded By:
canonical/charmcraft#871
(confidence 60%)
Later merged PR adding explicit image ID and digest support for upload-resource (CRAFT-1324), resolving #853; addresses the same digest-vs-id handling area but for local images.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1953 Charmcraft 3 should still accept image digests for `upload-resource` | charmcraft | open | Maintainer-filed Charmcraft 3 bug remains open: upload-resource still rejects bare OCI digests because Docker lookup returns only image IDs; no resolving change is present. | |
| #871 Support both image id and digest when uploading oci-image resources (CRAFT-1324). | charmcraft | merged | Merged in canonical/charmcraft#871 via commit cefabea2, adding OCI image ID and digest support, faster local-ID handling, clearer missing-image errors, and resolution of #853. | |
| #350 Can't upload oci-image resources from any registry but Docker Hub | charmcraft | closed | Registry restriction was lifted in Charmcraft 1.1 by PR #391 (commit bf2d2c5e), allowing upload-resource to use local images or images from any registry. | |
| #1051 Fix digest check for uploading OCI resource | charmcraft | closed | PR #1051 proposed correcting OCI digest detection from ':' to '@', but was closed unmerged after 1,291 days without review, CI runs, or a documented resolution. | |
| #853 The upload-resource command should accept images id or digests | charmcraft | closed | Merged PR #871 resolved support for OCI image IDs and digests in upload-resource, improving local ID handling and missing-image errors. |