Skip to content

Commit

Permalink
add space saving optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
antheas committed Jun 30, 2024
1 parent 8a990ab commit 33db348
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,11 @@ runs:
${{ inputs.rechunk }} \
/sources/rechunk/2_create.sh
# Cleanup
# Cleanup and make space
echo Unmounting and removing container
sudo podman unmount ${{ steps.mount.outputs.container }}
sudo podman rm ${{ steps.mount.outputs.container }}
sudo podman rmi ${{ inputs.ref }}
- name: Rechunk OSTree Commit
id: rechunk
shell: bash
Expand All @@ -112,6 +113,9 @@ runs:
echo "version=$(sudo cat ./version.txt)" >> $GITHUB_OUTPUT
echo "ref=oci:$OUT_NAME" >> $GITHUB_OUTPUT
# Remove cached volume
sudo podman volume rm cache_ostree
env:
VERSION: ${{ inputs.version }}
LABELS: ${{ inputs.labels }}

0 comments on commit 33db348

Please sign in to comment.