Skip to content

Commit 2cc8542

Browse files
committed
fix: refresh files when nested artifact is unpacked
1 parent e812bf7 commit 2cc8542

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/gardenlinux/oci/container.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,9 @@ def push_manifest_and_artifacts_from_directory(
454454
if file_path_name.match("*.pxe.tar.gz"):
455455
self._logger.info(f"Found nested artifact {file_path_name}")
456456
extract_targz(file_path_name, artifacts_dir)
457+
files = [
458+
file_name for file_name in artifacts_dir.iterdir() if file_name.is_file()
459+
]
457460

458461
artifacts_with_metadata = Container.get_artifacts_metadata_from_files(
459462
files, manifest.arch

0 commit comments

Comments
 (0)