mirror of
https://github.com/docker/cli.git
synced 2026-01-22 03:22:01 +03:00
from a docker push output digest.DigestRegexp.FindString(output) does not retrive the sha256: prefixed digest but just a string - in many cases it's the registry host. The checks in the code are completely wrong then. Fix this by using the DigestRegexp from the distribution/reference package which correctly retrieves the digest from the output. Signed-off-by: Antonio Murdaca <runcom@redhat.com> Upstream-commit: 0bc88d5b0a14e6c7291bb5fbf99283a05511d07c Component: engine