forked from tech-shrimp/docker_image_pusher
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
24a7550
commit f4dda62
Showing
1 changed file
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,53 @@ jobs: | |
name: Pull | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Before freeing up disk space | ||
run: | | ||
echo "Before freeing up disk space" | ||
echo "==============================================================================" | ||
df -hT | ||
echo "==============================================================================" | ||
- name: "Optimize Disk Space" | ||
uses: "hugoalh/[email protected]" | ||
with: | ||
operate_sudo: "True" | ||
general_include: ".+" | ||
general_exclude: |- | ||
^GCC$ | ||
^G\+\+$ | ||
Clang | ||
LLVM | ||
docker_include: ".+" | ||
docker_prune: "True" | ||
docker_clean: "True" | ||
apt_prune: "True" | ||
apt_clean: "True" | ||
homebrew_prune: "True" | ||
homebrew_clean: "True" | ||
npm_prune: "True" | ||
npm_clean: "True" | ||
os_swap: "True" | ||
|
||
- name: Freeing up disk space | ||
uses: easimon/maximize-build-space@master | ||
with: | ||
root-reserve-mb: 2048 | ||
swap-size-mb: 1 | ||
remove-dotnet: 'true' | ||
remove-android: 'true' | ||
remove-haskell: 'true' | ||
remove-codeql: 'true' | ||
remove-docker-images: 'true' | ||
|
||
- name: Free up disk space complete | ||
run: | | ||
echo "Free up disk space complete" | ||
echo "==============================================================================" | ||
df -hT | ||
echo "==============================================================================" | ||
- name: Docker Setup Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
|