Skip to content

Commit

Permalink
trying something else
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Apr 5, 2024
1 parent ef1a7e0 commit e39a4ba
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ci-build-unstable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,23 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Move /var/lib/docker/
run: sudo mv /var/lib/docker/ "${GITHUB_WORKSPACE}/docker"

- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
build-mount-path: /var/lib/docker/
root-reserve-mb: 512
temp-reserve-mb: 32
swap-size-mb: 32
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'
- name: Restart docker
run: sudo service docker restart
build-mount-path: '/var/lib/docker/'

- name: Restore /var/lib/docker/
run: sudo sh -c "mv ${GITHUB_WORKSPACE}/docker/* /var/lib/docker"
- uses: actions/checkout@v4
- name: Build and push
id: docker_build
Expand Down

0 comments on commit e39a4ba

Please sign in to comment.