Skip to content

Commit

Permalink
action cache disk space issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry committed Dec 12, 2021
1 parent b4dc86a commit 4871abf
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
swap-size-mb: 4096
temp-reserve-mb: 4096
root-reserve-mb: 24576
root-reserve-mb: 16384
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
Expand Down Expand Up @@ -113,6 +113,12 @@ jobs:
docker tag $CONTAINER_TEST_REPOSITORY $CONTAINER_DEPLOY_REPOSITORY
docker push $CONTAINER_DEPLOY_REPOSITORY
# Needed to prevent cache from growing forever (see https://github.com/docker/build-push-action/issues/252)
- name: Move cache
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
# I think this is not needed since the "test" image is not pushed
# - name: Clean up the CI testing tag
# run: |
Expand Down

0 comments on commit 4871abf

Please sign in to comment.