Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build.yml: use cache for Docker build envs #4367

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

plowsof
Copy link
Contributor

@plowsof plowsof commented Oct 8, 2024

after 1st run, the cache will be used. the docker* workflows will build in under 15 mins , example @ https://github.com/plowsof/monero-gui/actions/runs/11232245513

threads bumped to 4

this is not a fancy docker layer caching method, which isnt a concern as if any of the Dockerfile.* are modified then the build env will be built from scratch.

every github repo has 10GB of cache to play with

docker-windows-static Cache Size: ~706 MB (740221653 B)
docker-linux-static Cache Size: ~584 MB (612024901 B)
docker-android-static Cache Size: ~2231 MB (2339233117 B)

1st run: https://github.com/monero-project/monero-gui/actions/runs/11232547452
2nd: https://github.com/monero-project/monero-gui/actions/runs/11233958792

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant