Free space on Github workflow VM to build Khoj docker images

This commit is contained in:
Debanjum Singh Solanky 2024-02-06 23:37:51 +05:30
parent 8e5db72140
commit 667b975400

View file

@ -64,6 +64,9 @@ jobs:
id: hatch id: hatch
run: echo "version=$(pipx run hatch version)" >> $GITHUB_OUTPUT run: echo "version=$(pipx run hatch version)" >> $GITHUB_OUTPUT
- name: 🧹 Delete huge unnecessary tools folder
run: rm -rf /opt/hostedtoolcache
- name: 📦 Build and Push Docker Image - name: 📦 Build and Push Docker Image
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
if: (matrix.image == 'local' && github.event_name == 'workflow_dispatch') && github.event.inputs.khoj == 'true' || (matrix.image == 'local' && github.event_name == 'push') if: (matrix.image == 'local' && github.event_name == 'workflow_dispatch') && github.event.inputs.khoj == 'true' || (matrix.image == 'local' && github.event_name == 'push')