mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-04 12:41:50 +02:00
fixup! 1e9e468e37
This commit is contained in:
parent
5acb302acf
commit
e078e9bb82
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ def get_remote_signatures(image: str, digest: str) -> List[Dict]:
|
||||||
return signatures
|
return signatures
|
||||||
|
|
||||||
|
|
||||||
def prepare_airgapped_archive(image_name: str, destination: str):
|
def prepare_airgapped_archive(image_name: str, destination: str) -> None:
|
||||||
if "@sha256:" not in image_name:
|
if "@sha256:" not in image_name:
|
||||||
raise errors.AirgappedImageDownloadError(
|
raise errors.AirgappedImageDownloadError(
|
||||||
"The image name must include a digest, e.g. ghcr.io/freedomofpress/dangerzone/dangerzone@sha256:123456"
|
"The image name must include a digest, e.g. ghcr.io/freedomofpress/dangerzone/dangerzone@sha256:123456"
|
||||||
|
|
Loading…
Reference in a new issue