mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-03-27 07:47:06 +00:00
docker_image_export: Add 'platform' option
This commit is contained in:
parent
84719fb753
commit
f536b8967b
@ -243,7 +243,7 @@ class ImageExportManager(DockerBaseClass):
|
||||
self.fail(f"Error getting image {image_names[0]} - {exc}")
|
||||
else:
|
||||
self.log(f"Getting archive of images {image_names_str}")
|
||||
params: dict[str, t.Any] = {"names": image_names}
|
||||
params = {"names": image_names}
|
||||
if self.platform:
|
||||
params["platform"] = self._platform_param()
|
||||
try:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user