Skip to content

Replace docker.io by registry-1.docker.io when doing api calls#179

Merged
jonesbusy merged 1 commit intooras-project:mainfrom
jonesbusy:feature/replace-docker-io
Mar 2, 2025
Merged

Replace docker.io by registry-1.docker.io when doing api calls#179
jonesbusy merged 1 commit intooras-project:mainfrom
jonesbusy:feature/replace-docker-io

Conversation

@jonesbusy
Copy link
Copy Markdown
Collaborator

Description

Should fix #177

Similar to https://github.com/oras-project/oras-py/blob/1790ad7df3c83884f24aabd2ab4b2d97e4c2f3b0/oras/defaults.py#L10-L15 and https://github.com/oras-project/oras-go/blob/d92df9df65805259b6f3b8114d9dc939d71f5264/registry/reference_test.go#L235-L249

Testing done

CI only

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

@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

All modified and coverable lines are covered by tests ✅

Project coverage is 84.07%. Comparing base (c91b0b3) to head (0b38825).
Report is 2 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #179      +/-   ##
============================================
+ Coverage     83.67%   84.07%   +0.40%     
- Complexity      327      332       +5     
============================================
  Files            29       29              
  Lines          1158     1162       +4     
  Branches        110      112       +2     
============================================
+ Hits            969      977       +8     
+ Misses          132      128       -4     
  Partials         57       57              

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

@jonesbusy jonesbusy force-pushed the feature/replace-docker-io branch 2 times, most recently from 3d71867 to 7f80dfa Compare March 2, 2025 07:57
Signed-off-by: Valentin Delaye <jonesbusy@users.noreply.github.com>
@jonesbusy jonesbusy force-pushed the feature/replace-docker-io branch from 7f80dfa to 0b38825 Compare March 2, 2025 07:59
@jonesbusy jonesbusy merged commit 787f863 into oras-project:main Mar 2, 2025
@jonesbusy jonesbusy deleted the feature/replace-docker-io branch March 2, 2025 08:00
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.

docker.io should be referenced to registry-1.docker.io

1 participant