Skip to content

cagent pull fails for non-DockerHub registries - ref hash mismatch #1127

@tdabasinskas

Description

@tdabasinskas

When pulling from a non-Docker Hub registry (e.g., ghcr.io), cagent stores the ref under a hash of the reference without the registry prefix, but looks it up using a hash of the full reference including the registry.

Example:

  • Full reference: ghcr.io/org/repo/image:latest
  • Stored under hash of: org/repo/image:latest3f2212a7...
  • Looked up with hash of: ghcr.io/org/repo/image:latest66ea1c95...

Workaround: Create a symlink between the two hashes in ~/.cagent/store/refs/

Version: v1.15.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions