cnabio / cnab-go

A Go implementation of CNAB Core 1.0
MIT License
69 stars 35 forks source link

Support insecure registries during archive #291

Closed carolynvs closed 2 years ago

carolynvs commented 2 years ago

This adds a new option when archiving a bundle, specifying the http transport, so that we can skip TLS verification when communicating with an insecure registry. For example, when the registry is secured with a self-signed TLS certificate.

We were missing tests for imagestore so I took some of what we do in Porter to spin up a temporary registry with self-signed certs from Porter to add integration tests for remote and ocilayout image stores.