Skip to content

Commit

Permalink
try use new method to expand docker build disk space
Browse files Browse the repository at this point in the history
  • Loading branch information
lonegunmanb committed Feb 21, 2024
1 parent fb1c8a3 commit 4e3dc1e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/new-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,15 @@ jobs:
sudo service docker stop
cd /var/lib
sudo rm -rf docker
sudo umount /mnt
sudo mount /dev/sda1 /var/lib/docker
sudo service docker restart
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 1024
swap-size-mb: 1024
build-mount-path: '/var/lib/docker'
- name: Restart Docker
run: |
sudo service docker start
- name: Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 #v3.6.0
- name: Read version.env
Expand Down

0 comments on commit 4e3dc1e

Please sign in to comment.