From 720c02a9ea976bcde82902a2bf64842b055b47d4 Mon Sep 17 00:00:00 2001 From: gozzarda Date: Sun, 27 Oct 2019 00:09:14 +0800 Subject: [PATCH] Make cache warning more explicit (#44) * Make cache warning more explicit * Improve warning clarity --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5ddac97..68987a5 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ All `buildargs` will be masked, so that they don't appear in the logs. ### cache Use `cache` when you have big images, that you would only like to build partially (changed layers). -> CAUTION: This will cache the non changed parts forever. If you use this option, make sure that these parts will be updated by another job! +> CAUTION: Docker builds will cache non-repoducable commands, such as installing packages. If you use this option, your packages will never update. To avoid this, run this action on a schedule with caching **disabled** to rebuild the cache periodically. ```yaml with: