mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
cleanup disk
This commit is contained in:
parent
60dac9d1a5
commit
9d6267e42b
1 changed files with 12 additions and 11 deletions
23
.github/workflows/iso.yml
vendored
23
.github/workflows/iso.yml
vendored
|
|
@ -18,12 +18,22 @@ jobs:
|
|||
container:
|
||||
image: fedora:39
|
||||
options: "--privileged"
|
||||
volumes: /:/host
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
||||
steps:
|
||||
- name: Install Tools
|
||||
- name: Cleanup host space
|
||||
run: |
|
||||
df -h /host || true
|
||||
rm -rf /host/usr/local/lib/android || true
|
||||
rm -rf /host/usr/share/dotnet || true
|
||||
rm -rf /host/opt/ghc || true
|
||||
rm -rf /host/usr/local/.ghcup || true
|
||||
df -h /host || true
|
||||
|
||||
- name: Install tools
|
||||
run: |
|
||||
dnf install -y \
|
||||
lorax \
|
||||
|
|
@ -51,16 +61,7 @@ jobs:
|
|||
--add-template ${GITHUB_WORKSPACE}/lorax_templates/embed.tmpl \
|
||||
./results/
|
||||
|
||||
- name: Generate xorriso input
|
||||
run: |
|
||||
ln -s /registry_cache
|
||||
bash scripts/gen_xorriso.sh | tee xorriso.txt
|
||||
|
||||
- name: Add additional files to ISO
|
||||
run: |
|
||||
xorriso -dialog on < xorriso.txt
|
||||
|
||||
- name: Upload ISO as Artifact
|
||||
- name: Upload ISO as artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ISOs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue