mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-04 04:31:49 +02:00
fixup! Download and verify cosign signatures
This commit is contained in:
parent
2aeb53a3b4
commit
cff3ac2870
1 changed files with 3 additions and 2 deletions
|
@ -195,8 +195,9 @@ def get_local_image_digest(image: str) -> str:
|
|||
"""
|
||||
Returns a image hash from a local image name
|
||||
"""
|
||||
# Get the image hash from the podman images command, as
|
||||
# podman inspect returns a the digest of the architecture-bound image
|
||||
# Get the image hash from the "podman images" command.
|
||||
# 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}}"]
|
||||
log.debug(" ".join(cmd))
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue