Skip to content

Commit

Permalink
Trying Kahini's trick.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Sep 29, 2023
1 parent c5e5fc6 commit 273d02e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ jobs:
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- name: Clean unnecessary files to save space
run: |
docker rmi `docker images -q`
sudo rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/sudo apt/sources.list.d
sudo apt -y autoremove --purge
sudo apt -y autoclean
sudo apt clean
rm --recursive --force "$AGENT_TOOLSDIRECTORY"
df -h
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
Expand Down

0 comments on commit 273d02e

Please sign in to comment.