From 1b5b015fef9da025ee872b63f46e0dc69f0c108b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Mon, 29 Apr 2024 13:07:30 +0200 Subject: [PATCH] stages/skopeo: Fix the remove-signatures option It's defined on the options level, not on the destination level. A previous commit added a test for this. --- stages/org.osbuild.skopeo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stages/org.osbuild.skopeo b/stages/org.osbuild.skopeo index ec62c595..45bb98db 100755 --- a/stages/org.osbuild.skopeo +++ b/stages/org.osbuild.skopeo @@ -13,7 +13,7 @@ def main(inputs, output, options): destination = options["destination"] dest_type = destination["type"] - remove_signatures = destination.get("remove-signatures") + remove_signatures = options.get("remove-signatures") for image in images.values(): with containers.container_source(image) as (image_name, image_source):