Skip to content

Commit

Permalink
Fix docker push image
Browse files Browse the repository at this point in the history
  • Loading branch information
mrproliu committed Oct 10, 2024
1 parent d39db69 commit da36bb5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
name: publish-docker

on:
pull_request:
push:
branches:
- main
Expand Down Expand Up @@ -44,11 +45,15 @@ jobs:
registry: ${{ env.HUB }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Clean spaces for docker images
- name: Clean spaces for docker images and show disk usage
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
sudo rm -rf /usr/local/lib/android
sudo swapoff -a
sudo rm -f /mnt/swapfile
df -h /
- name: Build and push docker images
run: make docker.push

0 comments on commit da36bb5

Please sign in to comment.