mirror of
https://github.com/docker/cli.git
synced 2026-01-26 15:41:42 +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
30 KiB
30 KiB