Skip to content

DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.

fix(ci): free disk space before Docker build to prevent out-of-space error

Pancake3cffa02b4030
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml
index 3a76fac2c..3c2a608f4 100644
--- a/.github/workflows/docker-publish.yml
+++ b/.github/workflows/docker-publish.yml
@@ -32,6 +32,18 @@ jobs:
packages: write
steps:
+ - name: Free disk space
+ uses: jlumbroso/free-disk-space@main
+ with:
+ # Remove unnecessary tools to free up space
+ tool-cache: true
+ android: true
+ dotnet: true
+ haskell: true
+ large-packages: true
+ docker-images: true
+ swap-storage: true
+
- name: Checkout repository
uses: actions/checkout@v6