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

feat: upgrade to ORAS Go v2 #788

Merged
merged 1 commit into from
Mar 9, 2023
Merged

Conversation

zregvart
Copy link
Contributor

@zregvart zregvart commented Mar 6, 2023

This removes the ORAS Go v1 dependency and upgrades to ORAS Go v2. The support for authentication via docker dependency was removed in ORAS Go v2 so parts of that needed to be replaced with cpuguy83/dockercfg[1].

Tests were expanded to include a TLS secured and basic auth protected registry.

[1] github.com/cpuguy83/dockercfg

This removes the ORAS Go v1 dependency and upgrades to ORAS Go v2. The
support for authentication via docker dependency was removed in ORAS Go
v2 so parts of that needed to be replaced with cpuguy83/dockercfg[1].

Tests were expanded to include a TLS secured and basic auth protected
registry.

Signed-off-by: Zoran Regvart <[email protected]>

[1] github.com/cpuguy83/dockercfg

Signed-off-by: Zoran Regvart <[email protected]>
@jpreese
Copy link
Member

jpreese commented Mar 9, 2023

This looks awesome. Thanks @zregvart !

@jpreese jpreese merged commit 347708d into open-policy-agent:master Mar 9, 2023
@zregvart zregvart deleted the pr/oras-v2 branch March 9, 2023 14:59
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.

2 participants