Commit b9fa9db
committed
cstorage: Strip sha256: prefix from image IDs
Image IDs from `podman build --iidfile` include the `sha256:` prefix,
but containers-storage directories use just the hex digest. Strip the
prefix when opening images to support both formats.
Fixes CI failure where `cfsctl oci pull containers-storage:sha256:...`
failed with "image not found".
See containers/skopeo#2750
Assisted-by: OpenCode (Opus 4.5)1 parent 455891a commit b9fa9db
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
53 | 62 | | |
54 | 63 | | |
55 | 64 | | |
| |||
0 commit comments