File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 75
75
echo "${{ secrets['ARCUS_S3_CFG'] }}" > ~/.s3cfg
76
76
shell : bash
77
77
78
- - name : Install s3cmd
78
+ - name : Install s3cmd and qemu-utils
79
79
run : |
80
- sudo apt-get --yes install s3cmd
80
+ sudo apt-get --yes install s3cmd qemu-utils
81
81
82
82
- name : Retrieve image name
83
83
run : |
88
88
- name : Download image to runner
89
89
run : |
90
90
. venv/bin/activate
91
- openstack image save --file ${{ env.TARGET_IMAGE }} ${{ env.TARGET_IMAGE }}
91
+ openstack image save --file "${{ env.TARGET_IMAGE }}.raw" "${{ env.TARGET_IMAGE }}"
92
+ shell : bash
93
+
94
+ - name : Convert image to QCOW2
95
+ run : |
96
+ . venv/bin/activate
97
+ qemu-img convert -f raw -O qcow2 "${{ env.TARGET_IMAGE }}.raw" "${{ env.TARGET_IMAGE }}"
92
98
shell : bash
93
99
94
100
- name : Upload Image to S3
You can’t perform that action at this time.
0 commit comments