Skip to content

Support anonymous request token auth for GHCR#180

Merged
jonesbusy merged 1 commit intooras-project:mainfrom
jonesbusy:feature/anonymous-token
Mar 2, 2025
Merged

Support anonymous request token auth for GHCR#180
jonesbusy merged 1 commit intooras-project:mainfrom
jonesbusy:feature/anonymous-token

Conversation

@jonesbusy
Copy link
Copy Markdown
Collaborator

Description

Should fix #178

Testing done

CI and enable test that was ignored

Submitter checklist

  • I have read and understood the CONTRIBUTING guide
  • I have run mvn license:update-file-header, mvn spotless:apply, pre-commit run -a, mvn clean install before opening the PR

Signed-off-by: Valentin Delaye <jonesbusy@users.noreply.github.com>
@jonesbusy jonesbusy added the bug Something isn't working label Mar 2, 2025
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 2, 2025

Codecov Report

Attention: Patch coverage is 87.50000% with 1 line in your changes missing coverage. Please review.

Project coverage is 84.87%. Comparing base (787f863) to head (b3502c9).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/main/java/land/oras/Registry.java 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #180      +/-   ##
============================================
+ Coverage     84.07%   84.87%   +0.80%     
- Complexity      332      335       +3     
============================================
  Files            29       29              
  Lines          1162     1164       +2     
  Branches        112      113       +1     
============================================
+ Hits            977      988      +11     
+ Misses          128      122       -6     
+ Partials         57       54       -3     

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

@jonesbusy jonesbusy merged commit ee0d198 into oras-project:main Mar 2, 2025
@jonesbusy jonesbusy deleted the feature/anonymous-token branch March 2, 2025 08:34
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.

Anonymous https://ghcr.io token auth doesn't work if not credentials found

1 participant