When I docker pull bitnami/sealed-secrets-controller:v0.19.4, the digest I get matches the digest returned by docker run --rm regclient/regctl image digest bitnami/sealed-secrets-controller:v0.19.4.
The problem is if I'm doing it on my mac, I'm getting the arm64 architecture, so I need to do the same thing with the --platform linux/amd64 flag like so:
docker pull --platform linux/amd64 bitnami/sealed-secrets-controller:v0.19.4 gets me the digest ca8b5651578f4909d15be21e81c4d7bdc76ff39e0e9f34f6a95e3ca4d26b7c0e, but docker run --rm regclient/regctl image digest --platform linux/amd64 bitnami/sealed-secrets-controller:v0.19.4 returns the digest ed88880030cfe6b7325f6ab06d1667325228f7aa2d8b9f4fc6197acab181e165 which is correct for that platform according to docker manifest inspect, but doesn't match the digest I got when pulling the image.
> docker manifest inspect bitnami/sealed-secrets-controller:v0.19.4
...
"digest": "sha256:ed88880030cfe6b7325f6ab06d1667325228f7aa2d8b9f4fc6197acab181e165",
"platform": {
"architecture": "amd64",
"os": "linux"
...
so it seems like adding the --platform flag is somehow messing up the digest?
Found the issue, If you don't specify platform, you get the combined manifest digest. if you do specify platform, you get the single platform manifest digest.