Skip to content

Commit

Permalink
Update publish-to-docker-hub.yml to free up disk space
Browse files Browse the repository at this point in the history
  • Loading branch information
VarunUllanat authored Nov 6, 2024
1 parent 04b1853 commit 8ea6e42
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/publish-to-docker-hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: free disk space
run: |
sudo swapoff -a
sudo rm -f /swapfile
sudo apt clean
docker rmi $(docker image ls -aq)
sudo df -h
sudo du -h
- name: Checkout
uses: actions/checkout@v2
- name: Set version number variable
Expand Down

0 comments on commit 8ea6e42

Please sign in to comment.