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

Docker build failing #341

Open
GrosQuildu opened this issue Feb 24, 2020 · 0 comments
Open

Docker build failing #341

GrosQuildu opened this issue Feb 24, 2020 · 0 comments

Comments

@GrosQuildu
Copy link
Contributor

Sometimes container action fails, because of "No space left on device" error. Here why:

Action "whoan/docker-build-with-cache-action@v3" works like that:

  • pull images from (private) registry
  • build new images using pulled layers (--cache-from= option)
  • push new images to the registry

The assumption is that most of the old layers are used in always all new builds (because deepstate-base Dockerfile and fuzzers installation scripts change hardly ever). That seeds up build processes significantly.

The problem is that sometimes, I don't know why, old layers are not used and whole build runs starts the scratch. So there are pulled old layers and new, freshly build code. And that takes too much memory.

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

No branches or pull requests

1 participant