Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: cache docker layers and avoid re-downloading them for each job
Sometimes the CI fails because Docker doesn't respond. It could be because we download many docker images in every job and we have 58 jobs now. With this commit, the images layers will be downloaded during nightly builds and cached. The CI will still run against the latest containers available because we don't apply tags to layers. So if something changed in Docker Hub we will always use the new layers in place of or (hopefully) on top of the cached layers. This seems to cut the CI running time in half from 33~ minutes to 15~. Signed-off-by: Salvatore Mesoraca <[email protected]>
- Loading branch information