Customizing the Docker manifest file

Hello All

 We are trying to explore an way to update the  docker manifest file with history/commands that each layer has been created. i.e naming the layers in manifest file based on the commands it has been created.

 **for example: the main manifest file**

              {
              "schemaVersion": 2,
               "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
              "manifests": [
                      {
                          "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
                          "size": 3254,
                          "digest": "sha256:80f2269ee91e3660538e01f5b030a8ab67fb37380d3f0e3806343bba0544228c",
                         "platform": {
                          "architecture": "arm64",
                          "os": "linux"
                          }
                      },
                     {
                       "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
                       "size": 3038,
                       "digest": "sha256:51433b40f0d124b8a40992dc6dcd1f36b80a689dc1e93219e3a26f3cafbefae7",
                   
                    },
                  {
                     "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
                    "size": 2824,
                    "digest": "sha256:3e2541059ef63fe0f586feedaa6eac495581aeb5e662fb2752eb1ef5ba254355",
                   "platform": {
                        "architecture": "amd64",
                        "os": "linux"
                    }
               }
         ]
     }

We should be ale to include some naming convention for each layer

                      {
              "schemaVersion": 2,
               "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
              "manifests": [
                      {
                          "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
                          "size": 3254,
                          "digest": "sha256:80f2269ee91e3660538e01f5b030a8ab67fb37380d3f0e3806343bba0544228c",
                         "platform": {
                          "architecture": "arm64",
                          "os": "linux"
                          }
                        **"Lable":<commands used/ Names>**
                      },
                     {
                       "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
                       "size": 3038,
                       "digest": "sha256:51433b40f0d124b8a40992dc6dcd1f36b80a689dc1e93219e3a26f3cafbefae7",
                     **"Lable":<commands used/ Names>**
                    },
                  {
                     "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
                    "size": 2824,
                    "digest": "sha256:3e2541059ef63fe0f586feedaa6eac495581aeb5e662fb2752eb1ef5ba254355",
                   "platform": {
                        "architecture": "amd64",
                        "os": "linux"
                    }
                    **"Lable":<commands used/ Names>**
               }
         ]
     }

Thanks & Regards