Skip to content

Commit a34ca64

Browse files
committed
fix guestunmount cleanup
1 parent 4579f4c commit a34ca64

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/fatimage.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
sudo apt -y install libguestfs-tools
9393
9494
- name: mkdir for mount
95-
run: sudo mkdir -p './${{ steps.manifest.outputs.image-name }}'
95+
run: mkdir -p './${{ steps.manifest.outputs.image-name }}'
9696

9797
- name: mount qcow2 file
9898
run: sudo guestmount -a ${{ steps.manifest.outputs.image-name }}.qcow2 -i --ro -o allow_other './${{ steps.manifest.outputs.image-name }}'
@@ -123,3 +123,6 @@ jobs:
123123
exit-code: '1'
124124
severity: 'CRITICAL'
125125
ignore-unfixed: true
126+
127+
- name: Unmount image directory
128+
run: sudo guestunmount './${{ steps.manifest.outputs.image-name }}''

0 commit comments

Comments
 (0)