go.mod: github.com/opencontainers/image-spec v1.1.0-rc3
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
@@ -389,9 +389,11 @@ func createContent(size int64, seed int64) ([]byte, digest.Digest) {
|
||||
|
||||
func createConfig(osName, archName, author string) ([]byte, digest.Digest) {
|
||||
image := ocispec.Image{
|
||||
OS: osName,
|
||||
Architecture: archName,
|
||||
Author: author,
|
||||
Platform: ocispec.Platform{
|
||||
OS: osName,
|
||||
Architecture: archName,
|
||||
},
|
||||
Author: author,
|
||||
}
|
||||
b, _ := json.Marshal(image)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user