public void setPlatform(String architecture, String os) {
      platform = new OciIndexTemplate.ManifestDescriptorTemplate.Platform();
      platform.architecture = architecture;
      platform.os = os;
    }
Sets a platform.

@param architecture the manifest architecture
@param os the manifest os
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/OciIndexTemplate.java