Not all repositories send "Docker-Content-Digest" header in their HTTP responses to manifest fetches.
Most notably, AWS ECR is affected by this problem, and quite possibly there's a few other registries out there with similar implementation issues.
This results in manifests.Get(...) method of the registry client (registry/client/repository.go) to not return the digest when contentDigestOption is set for the affected registries.
Not all repositories send "Docker-Content-Digest" header in their HTTP responses to manifest fetches.
Most notably, AWS ECR is affected by this problem, and quite possibly there's a few other registries out there with similar implementation issues.
This results in manifests.Get(...) method of the registry client (registry/client/repository.go) to not return the digest when contentDigestOption is set for the affected registries.