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:
parent
3e303c7797
commit
a7b89ba8fc
1 changed files with 3 additions and 0 deletions
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue