Skip to content

Commit

Permalink
docker free disk
Browse files Browse the repository at this point in the history
  • Loading branch information
emotionor committed Jun 24, 2024
1 parent 842a420 commit 1fe443e
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- fix_docker

jobs:
docker:
Expand All @@ -25,7 +26,28 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false

# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: false
swap-storage: false
-
name: Set up swap space
uses: pierotofy/set-swap-space@v1.0
with:
swap-size-gb: 10
-
name: Build and push with rdma
uses: docker/build-push-action@v3
with:
context: ./unimol/docker/
Expand Down

0 comments on commit 1fe443e

Please sign in to comment.