fixup! Download and verify cosign signatures

This commit is contained in:
Alexis Métaireau 2025-02-12 11:40:36 +01:00
parent 27647cc309
commit f6562ae59c

View file

@ -204,6 +204,6 @@ def get_local_image_digest(image: str) -> str:
) )
return lines[0].replace("sha256:", "") return lines[0].replace("sha256:", "")
except subprocess.CalledProcessError as e: except subprocess.CalledProcessError as e:
return None raise errors.ImageNotPresentException(
else: f"The image {image} does not exist locally"
return result.stdout.strip().decode().strip("sha256:") )