mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-20 10:27:46 +08:00

hasDigest would always be true when reaching this code, because the function would return with an error when failing to resolve the digest; if !hasDigest { return nil, errors.Errorf("oci-layout reference %q could not be resolved", v.Path) } Signed-off-by: Sebastiaan van Stijn <github@gone.nl>