1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-04 07:11:49 +00:00

Add arch to podman build command explicitly (#805)

Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
Sergey 2024-07-15 09:14:28 +03:00 committed by GitHub
parent 3e303c7797
commit a7b89ba8fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -724,6 +724,9 @@ class PodmanImageManager(object):
if image_format:
args.extend(['--format', image_format])
if self.arch:
args.extend(['--arch', self.arch])
if not self.build.get('cache'):
args.append('--no-cache')