fixup! Download and verify cosign signatures

This commit is contained in:
Alexis Métaireau 2025-02-26 19:17:56 +01:00
parent 2aeb53a3b4
commit cff3ac2870

View file

@ -195,8 +195,9 @@ def get_local_image_digest(image: str) -> str:
""" """
Returns a image hash from a local image name Returns a image hash from a local image name
""" """
# Get the image hash from the podman images command, as # Get the image hash from the "podman images" command.
# podman inspect returns a the digest of the architecture-bound image # It's not possible to use "podman inspect" here as it
# returns the digest of the architecture-bound image
cmd = [get_runtime_name(), "images", image, "--format", "{{.Digest}}"] cmd = [get_runtime_name(), "images", image, "--format", "{{.Digest}}"]
log.debug(" ".join(cmd)) log.debug(" ".join(cmd))
try: try: