Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/build-and-push-apptainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: check disk space
run: |
echo "Disk info:"
df -h
- name: Check disk space
run: df -h

- name: Install Apptainer
run: |
Expand All @@ -41,8 +39,12 @@ jobs:
sudo apt-get install -y apptainer

- name: Build SIF from definition file
env:
APPTAINER_CACHEDIR: /mnt/ephemeral/apptainer-cache
APPTAINER_TMPDIR: /mnt/ephemeral/apptainer-tmp
run: |
sudo apptainer --verbose build --mksquashfs-args="-comp gzip -Xcompression-level 1" eval_env-${{ matrix.image }}.sif apptainer/${{ matrix.image }}.def
sudo mkdir -p $APPTAINER_CACHEDIR $APPTAINER_TMPDIR
sudo APPTAINER_CACHEDIR=$APPTAINER_CACHEDIR APPTAINER_TMPDIR=$APPTAINER_TMPDIR apptainer --verbose build --mksquashfs-args="-comp gzip -Xcompression-level 1" eval_env-${{ matrix.image }}.sif apptainer/${{ matrix.image }}.def

- name: Install Hugging Face Hub CLI
run: pip install --upgrade "huggingface_hub"
Expand Down
Loading