mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 15:38:55 +01:00
Free space on Github workflow VM to build Khoj docker images
This commit is contained in:
parent
8e5db72140
commit
667b975400
1 changed files with 3 additions and 0 deletions
3
.github/workflows/dockerize.yml
vendored
3
.github/workflows/dockerize.yml
vendored
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue