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 7575 echo "${{ secrets['ARCUS_S3_CFG'] }}" > ~/.s3cfg
7676 shell : bash
7777
78- - name : Install s3cmd
78+ - name : Install s3cmd and qemu-utils
7979 run : |
80- sudo apt-get --yes install s3cmd
80+ sudo apt-get --yes install s3cmd qemu-utils
8181
8282 - name : Retrieve image name
8383 run : |
8888 - name : Download image to runner
8989 run : |
9090 . 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 }}"
9298 shell : bash
9399
94100 - name : Upload Image to S3
You can’t perform that action at this time.
0 commit comments