Skip to content

Commit 1daf04f

Browse files
committed
👌 Package: include architecture in output image filename
Append the host architecture to the image filename to distinguish builds for different architectures. Since VirtualBox does not support cross-architecture virtualization, the host architecture always matches the VM's.
1 parent 42d818e commit 1daf04f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playbook-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129

130130
- name: Set output path for image
131131
ansible.builtin.set_fact:
132-
image_path: "{{ local_dist_folder }}/quantum_mobile_{{ vm_version }}.ova"
132+
image_path: "{{ local_dist_folder }}/quantum_mobile_{{ vm_version }}_{{ 'x86_64' if ansible_facts['architecture'] == 'x86_64' else 'arm64' }}.ova"
133133
tags: [export, release]
134134

135135
- name: Remove old image file

0 commit comments

Comments
 (0)