From 484ee083962c1ecd7476704e19099678ee141bbc Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Sep 10 2018 17:41:34 +0000 Subject: Use the correct index number to trim container base image tags Signed-off-by: Clement Verna --- diff --git a/scripts/generate-manifest-list.py b/scripts/generate-manifest-list.py index 2a43140..6925f65 100644 --- a/scripts/generate-manifest-list.py +++ b/scripts/generate-manifest-list.py @@ -106,7 +106,7 @@ if __name__ == "__main__": image = create_image_manifest(tag=tag, name=args.image, registry=args.registry) if image is not None: manifest = image.copy() - manifest["platform"]["architecture"] = ARCHES[tag[4:]] + manifest["platform"]["architecture"] = ARCHES[tag[3:]] MANIFEST_LIST["manifests"].append(manifest) else: print(f"ERROR : Could not find the image manifest for fedora:{tag}")