diff --git a/Gopkg.lock b/Gopkg.lock index ba9385d68..705f66029 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -272,14 +272,14 @@ [[projects]] branch = "master" - digest = "1:dceb82de160ec21c5e3a22d48db99932f82f40c74bd7cad8bc23b7455613836b" + digest = "1:266d45292b063fa39002dd5c2fd77ec0a9f448f099fc261dcb91d04fd964335c" name = "github.com/docker/cnab-to-oci" packages = [ "converter", "remotes", ] pruneopts = "NUT" - revision = "1880d9f8741aa6fc3edbce01d172432bb6190b78" + revision = "093790100fa9ecf0b5b5e56292d820a0e618da8b" [[projects]] digest = "1:d29e07dc6fff1d592442bdf6b947f3a89d418ac6d65344d4e048c64a7cdd511c" diff --git a/vendor/github.com/docker/cnab-to-oci/converter/convert.go b/vendor/github.com/docker/cnab-to-oci/converter/convert.go index 6bd7e80cc..f0cced752 100644 --- a/vendor/github.com/docker/cnab-to-oci/converter/convert.go +++ b/vendor/github.com/docker/cnab-to-oci/converter/convert.go @@ -102,6 +102,7 @@ func ConvertOCIIndexToBundle(ix *ocischemav1.Index, config *BundleConfig, origin Actions: config.Actions, Credentials: config.Credentials, Parameters: config.Parameters, + Custom: config.Custom, } if err := parseTopLevelAnnotations(ix.Annotations, b); err != nil { return nil, err diff --git a/vendor/github.com/docker/cnab-to-oci/converter/types.go b/vendor/github.com/docker/cnab-to-oci/converter/types.go index df460ada8..d00e43581 100644 --- a/vendor/github.com/docker/cnab-to-oci/converter/types.go +++ b/vendor/github.com/docker/cnab-to-oci/converter/types.go @@ -22,6 +22,7 @@ type BundleConfig struct { Actions map[string]bundle.Action `json:"actions,omitempty" mapstructure:"actions,omitempty"` Parameters map[string]bundle.ParameterDefinition `json:"parameters" mapstructure:"parameters"` Credentials map[string]bundle.Location `json:"credentials" mapstructure:"credentials"` + Custom map[string]interface{} `json:"custom,omitempty" mapstructure:"custom"` } // PreparedBundleConfig contains the config blob, image manifest (and fallback), and descriptors for a CNAB config @@ -40,6 +41,7 @@ func CreateBundleConfig(b *bundle.Bundle) *BundleConfig { Actions: b.Actions, Parameters: b.Parameters, Credentials: b.Credentials, + Custom: b.Custom, } }