feat(ci): disable Docker build cache mode=max
option due to disk space problem
#5005
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
var-lib-apt
cache #5004Unfortunately, even with the above two corrections, it was found that the
cuda
job still fails due to disk space issues.https://github.com/autowarefoundation/autoware/actions/runs/9981995778/job/27586843983#step:5:18544
Therefore, this PR temporarily removes the
mode=max
option from thecache-to
setting ofdocker-build-and-push
workflows to reduce the amount of cache export.Ref. https://docs.docker.com/build/cache/backends/#cache-mode
Tests performed
https://github.com/autowarefoundation/autoware/actions/runs/9983663011
Effects on system behavior
Not applicable.
Interface changes
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.