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

Client go containerregistry #71

Closed
wants to merge 5 commits into from
Closed

Conversation

thepwagner
Copy link
Collaborator

@thepwagner thepwagner commented Nov 10, 2022

This is a slice of work to deprecate voucher's internal docker/ package, replacing it with the awesome https://github.com/google/go-containerregistry.
This chunk is focussed on isolating the bits from docker/ we'll need to keep (AFAICT: the bit that extracts GCP projects from GCR urls?) and updating the ./cmd/voucher_client implementation to use go-containerregistry. As part of this, I also trimmed down the voucher_client implementation to DRY.

I want to use go-containerregistry because of #47 - I think voucher should become aware of multi-arch images/manifest lists, and I think switching to go-containerregistry's implementation is a better direction than adding to voucher's custom registry codez.

@thepwagner thepwagner marked this pull request as draft November 10, 2022 21:33
@thepwagner thepwagner self-assigned this Nov 10, 2022
@thepwagner thepwagner requested review from lynnsh and rxbchen November 10, 2022 21:49
@thepwagner thepwagner marked this pull request as ready for review November 10, 2022 21:50
@thepwagner
Copy link
Collaborator Author

This was in service of #47 , but I don't think we are going to do that.

@thepwagner thepwagner closed this Nov 29, 2022
@thepwagner thepwagner deleted the client-go-containerregistry branch November 29, 2022 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant