Skip to content

Commit

Permalink
Attempting to free up space before build ...
Browse files Browse the repository at this point in the history
  • Loading branch information
DiogenesAnalytics authored Dec 15, 2023
1 parent 6463110 commit a2625dc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/docker-publish-gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,15 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

# Attempt to free up space
- name: free disk space
run: |
sudo swapoff -a
sudo rm -f /swapfile
sudo apt clean
docker rmi $(docker image ls -aq)
df -h
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
- name: Build and push Docker image
Expand Down

0 comments on commit a2625dc

Please sign in to comment.