feat(image): add RepoTags support for Docker archives (#9690)

Co-authored-by: knqyf263 <knqyf263@users.noreply.github.com>
This commit is contained in:
Teppei Fukuda
2025-10-22 10:50:13 +04:00
committed by GitHub
parent 68ca612db7
commit a9a3031675
58 changed files with 386 additions and 477 deletions

View File

@@ -89,6 +89,12 @@ func (a Artifact) Inspect(ctx context.Context) (artifact.Reference, error) {
Type: artifactType,
ID: cacheKey, // use a cache key as pseudo artifact ID
BlobIDs: []string{cacheKey},
ImageMetadata: artifact.ImageMetadata{
ID: bom.Metadata.ImageID,
DiffIDs: bom.Metadata.DiffIDs,
RepoTags: bom.Metadata.RepoTags,
RepoDigests: bom.Metadata.RepoDigests,
},
// Keep an original report
BOM: bom.BOM,