Skip to content

This commit fixes an issue with media-type lookups in sub-directories#148

Merged
NotTheEvilOne merged 1 commit intomainfrom
fix/layer-media-type-lookup-fix-with-directories
Jul 23, 2025
Merged

This commit fixes an issue with media-type lookups in sub-directories#148
NotTheEvilOne merged 1 commit intomainfrom
fix/layer-media-type-lookup-fix-with-directories

Conversation

@NotTheEvilOne
Copy link
Contributor

What this PR does / why we need it:
After #146 being merged the logic to match against file extensions fail because the lookup list does contain full file names as well. This PR additionally handles given values with directories correctly.

Which issue(s) this PR fixes:
Fixes gardenlinux/gardenlinux#3201

Signed-off-by: Tobias Wolf <wolf@b1-systems.de>
@NotTheEvilOne NotTheEvilOne requested review from 5kt and yeoldegrove July 23, 2025 14:26
@NotTheEvilOne NotTheEvilOne self-assigned this Jul 23, 2025
@NotTheEvilOne NotTheEvilOne added the bug Something isn't working label Jul 23, 2025
Copy link
Contributor

@yeoldegrove yeoldegrove left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@NotTheEvilOne NotTheEvilOne merged commit fa53a1e into main Jul 23, 2025
13 checks passed
@NotTheEvilOne NotTheEvilOne deleted the fix/layer-media-type-lookup-fix-with-directories branch July 23, 2025 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GL 1877.1 missing layers in OCI artifact

2 participants