mirror of
https://github.com/elgohr/Publish-Docker-Github-Action.git
synced 2026-03-12 18:07:12 -04:00
Make cache warning more explicit (#44)
* Make cache warning more explicit * Improve warning clarity
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user