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

Fix docker layer caching in build workflow #83

Merged
merged 1 commit into from
Dec 24, 2020

Conversation

rcowsill
Copy link
Contributor

@rcowsill rcowsill commented Dec 8, 2020

This is a workaround for the docker layer caching issue reported here: satackey/action-docker-layer-caching#75

It removes the docker layer caching from the windows build, as the benefit was marginal there anyway. Doing this leaves more cache quota for the linux build which really needs it.

Also, the cache keys for the linux build job have been set explicitly. If you want to restore caching in the windows job, set a different key for that job.

* Only cache docker layers on Linux
* Add target OS name to cache key (futureproofing)
@dbouron dbouron merged commit 3af45a1 into criteo:master Dec 24, 2020
@dbouron
Copy link
Contributor

dbouron commented Dec 24, 2020

Hello,
Thank you for your patch, I will merge it

@rcowsill rcowsill deleted the fix/docker-cache branch December 25, 2020 22:07
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.

2 participants