Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep the "library" namespace if it was specified in the image identifier #1014

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AlessandroZanatta
Copy link
Contributor

@AlessandroZanatta AlessandroZanatta commented Jan 17, 2025

I have implemented a change that should fix #1012.

Let me know if checking with string.Contains is enough. It theoretically does not comply with the OCI specification, as it assumes that there is a single namespace, but most registries do not allow nested namespaces (ref).

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.26%. Comparing base (9affc21) to head (2d54b13).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1014   +/-   ##
=======================================
  Coverage   63.26%   63.26%           
=======================================
  Files          15       15           
  Lines        2243     2243           
=======================================
  Hits         1419     1419           
  Misses        733      733           
  Partials       91       91           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@AlessandroZanatta AlessandroZanatta changed the title Keep the "library" namespace if it was specified in the image identif… Keep the "library" namespace if it was specified in the image identifier Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker Hub default namespace is removed on write back
2 participants