mirror of
https://github.com/docker/docs.git
synced 2026-03-29 07:18:51 +07: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>
30 KiB
30 KiB