diff --git a/src/gardenlinux/oci/container.py b/src/gardenlinux/oci/container.py index ea2965c4..4704da09 100644 --- a/src/gardenlinux/oci/container.py +++ b/src/gardenlinux/oci/container.py @@ -454,6 +454,11 @@ def push_manifest_and_artifacts_from_directory( if file_path_name.match("*.pxe.tar.gz"): self._logger.info(f"Found nested artifact {file_path_name}") extract_targz(file_path_name, artifacts_dir) + files = [ + file_name + for file_name in artifacts_dir.iterdir() + if file_name.is_file() + ] artifacts_with_metadata = Container.get_artifacts_metadata_from_files( files, manifest.arch