Skip to content

How do we set the manifest platform."os.version" property? #1137

@rgl

Description

@rgl

How do we set the manifest platform."os.version" property like the golang:1.17.1 image?

PS C:\Users\vagrant\Desktop\example-docker-buildx-go> .\crane.exe manifest golang:1.17.1 | jq
{
  "manifests": [
    ...
    {
      "digest": "sha256:203c24bdb4c98895e3425bce051aa6c43b55f20daaf339cc628d9b6cd20d7d58",
      "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
      "platform": {
        "architecture": "amd64",
        "os": "windows",
        "os.version": "10.0.14393.4651"
      },
      "size": 3402
    }
  ],
  "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
  "schemaVersion": 2
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions