Skip to content

Commit

Permalink
fix: packer-qemu.yml compression and upload
Browse files Browse the repository at this point in the history
  • Loading branch information
venkatamutyala authored Nov 25, 2024
1 parent badc523 commit 9e45e39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/packer-qemu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ jobs:

- name: Split qcow2 image into 1024M files
run: |
mv images/${{ inputs.glueops_codespace_tag || github.event.workflow_run.head_branch }}.qcow2 ..
mv images/${{ inputs.glueops_codespace_tag || github.event.workflow_run.head_branch }}.qcow2 .
tar -cvf ${{ inputs.glueops_codespace_tag || github.event.workflow_run.head_branch }}.qcow2
split -b 1024M ${{ inputs.glueops_codespace_tag || github.event.workflow_run.head_branch }}.qcow2.tar ${{ inputs.glueops_codespace_tag || github.event.workflow_run.head_branch }}.qcow2.tar.part_
- name: Upload *.qcow.tar.part_* files to GitHub Releases as an Asset
- name: Upload *.qcow2.tar.part_* files to GitHub Releases as an Asset
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 9e45e39

Please sign in to comment.