This commit is contained in:
Alexis Métaireau 2025-02-12 11:53:36 +01:00
parent 5acb302acf
commit e078e9bb82

View file

@ -383,7 +383,7 @@ def get_remote_signatures(image: str, digest: str) -> List[Dict]:
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:
raise errors.AirgappedImageDownloadError(
"The image name must include a digest, e.g. ghcr.io/freedomofpress/dangerzone/dangerzone@sha256:123456"