Skip to content

Commit

Permalink
Revert "apps: Use source image format for destination"
Browse files Browse the repository at this point in the history
This reverts commit b877a98.
  • Loading branch information
mike-sul committed Oct 9, 2024
1 parent 708c70a commit 1b2ae6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/target_apps_fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def fetch_image(self, target_name: str, arch: str, image: str, dst_root_dir: str
image_dir = os.path.join(dst_root_dir, uri.host, uri.name, uri.hash)
os.makedirs(image_dir, exist_ok=True)
subprocess.check_call(['skopeo', '--insecure-policy', '--override-arch', arch, 'copy',
'--retry-times', '3', '--dest-shared-blob-dir',
'--retry-times', '3', '--format', 'v2s2', '--dest-shared-blob-dir',
self.blobs_dir(target_name), 'docker://' + image, 'oci:' + image_dir])

# Store the image manifest in the blob directory, as result it contains all blobs/nodes of
Expand Down

0 comments on commit 1b2ae6c

Please sign in to comment.