diff --git a/converter/convert.go b/converter/convert.go index aba61a0..055178e 100644 --- a/converter/convert.go +++ b/converter/convert.go @@ -138,7 +138,7 @@ func GenerateRelocationMap(ix *ocischemav1.Index, b *bundle.Bundle, originRepo r func makeAnnotations(b *bundle.Bundle) (map[string]string, error) { result := map[string]string{ - CNABRuntimeVersionAnnotation: b.SchemaVersion, + CNABRuntimeVersionAnnotation: string(b.SchemaVersion), ocischemav1.AnnotationTitle: b.Name, ocischemav1.AnnotationVersion: b.Version, ocischemav1.AnnotationDescription: b.Description, diff --git a/go.mod b/go.mod index f609b00..4a10d18 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/Microsoft/go-winio v0.4.14 github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 github.com/beorn7/perks v1.0.1 - github.com/cnabio/cnab-go v0.8.2-beta1 + github.com/cnabio/cnab-go v0.10.0-beta1 github.com/containerd/containerd v1.3.0 github.com/containerd/continuity v0.0.0-20181203112020-004b46473808 github.com/docker/cli v0.0.0-20191017083524-a8ff7f821017 diff --git a/go.sum b/go.sum index cb9350a..43e593b 100644 --- a/go.sum +++ b/go.sum @@ -61,6 +61,8 @@ github.com/cloudflare/go-metrics v0.0.0-20151117154305-6a9aea36fb41/go.mod h1:ea github.com/cloudflare/redoctober v0.0.0-20171127175943-746a508df14c/go.mod h1:6Se34jNoqrd8bTxrmJB2Bg2aoZ2CdSXonils9NsiNgo= github.com/cnabio/cnab-go v0.8.2-beta1 h1:pJfXR9w0G1m3sFE3yp+ImAKeaBUwa2OviE9f+PnpMnM= github.com/cnabio/cnab-go v0.8.2-beta1/go.mod h1:5c4uOP6ZppR4nUGtCMAElscRiYEUi44vNQwtSAvISXk= +github.com/cnabio/cnab-go v0.10.0-beta1 h1:5LEEODVQkyCHfeT6pggPz5zq/PinA/CzlNrChFkfGkg= +github.com/cnabio/cnab-go v0.10.0-beta1/go.mod h1:5c4uOP6ZppR4nUGtCMAElscRiYEUi44vNQwtSAvISXk= github.com/containerd/containerd v1.2.7/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= github.com/containerd/containerd v1.3.0 h1:xjvXQWABwS2uiv3TWgQt5Uth60Gu86LTGZXMJkjc7rY= github.com/containerd/containerd v1.3.0/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA=