Skip to content

Downloading artifact leads to broken OCI image layout #1668

@jastBytes

Description

@jastBytes

Context
When running ocm download artifacts the directory structure is not adhering the OpenContainer Image Layout Spec.

Version
v0.32.0

To Reproduce
Steps to reproduce the behavior:

Run ocm download artifacts -O tmp/alpine-latest alpine:latest and validate the contents of directory tmp/alpine-latest/blobs.

Actual behavior
Blobs are not in a subdirectory for the sha256 but have a prefix and are located directly below /blobs.

Expected behavior
Blobs are located below /blobs/sha256 and have no prefix with the hash algorithm according to the standard, see https://specs.opencontainers.org/image-spec/image-layout/.

Metadata

Metadata

Assignees

Labels

area/ipceiImportant Project of Common European Interestkind/tasksmall task, normally part of feature or epic

Type

Projects

Status

🏗 In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions