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:
Akihiro Suda
2023-05-09 22:24:47 +09:00
parent bd185813ac
commit 4347fc8bc2
19 changed files with 64 additions and 83 deletions

View File

@@ -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)