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

Apply appropriate header for authentication against a gitlab registry #50

Merged
merged 1 commit into from
Oct 26, 2022

Conversation

magelisk
Copy link
Contributor

@magelisk magelisk commented Oct 26, 2022

This adds a fix to set the service=container_registry to the request params rather than just headers. This is needed for gitlab registry authentication.

This is a simple fix for #49 , I don't know for certain if this may have negative impact for not gitlab registries.

@vsoch
Copy link
Contributor

vsoch commented Oct 26, 2022

You beat me to it!

so the oras projects requires signed commits, if you are able to do that. The other tweak is to bump the version in oras/version.py and add a note to the CHANGELOG.

@magelisk magelisk force-pushed the 49-fix-gitlab-registry-auth branch 2 times, most recently from 10db8d8 to 35906eb Compare October 26, 2022 04:01
Signed-off-by: Matt Warner <18201513+magelisk@users.noreply.github.com>
@magelisk
Copy link
Contributor Author

I believe I got it all worked out. Signed and version+CHANGELOG updated

@vsoch vsoch merged commit b0b5ccf into oras-project:main Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants