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.
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 fromdocker/
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 thevoucher_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.