From 9c1cfbee373a40f4211addda096c55355dd4cdde Mon Sep 17 00:00:00 2001 From: "Pol (Paula)" Date: Thu, 12 Oct 2023 19:28:27 -0300 Subject: [PATCH] rephrase explanation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7f40cd79..2d1efbd9 100644 --- a/README.md +++ b/README.md @@ -544,7 +544,7 @@ This option can also be configured on the agent machine using the environment va ### `cache-from` (optional, build only) -A list of images to pull caches from in the format `service:index.docker.io/myorg/myrepo/myapp:tag:group` before building, ignoring any failures. The parameters `service` and `image-repo` are mandatory, without them it won't work. If multiple images are listed for a service, the first one to successfully pull will be used. Adding a grouping tag to the end of a `cache-from` list item allows this plugin to differentiate between groups within which only the first successfully downloaded image should be used (those elements that don't have a group specified will make a separate `:default:` group of its own). This way, not all images need to be downloaded and used as cache, not just the first. +A list of images to attempt pulling before building in the format `service:index.docker.io/myorg/myrepo/myapp:tag:group`, ignoring any failures, to allow docker to re-use layers. The parameters `service` and `image-repo` are mandatory, without them it won't work. For each combination of service and group, it will attempt to pull each in order until one is successful (the rest will be ignored). Those elements that don't have a group specified will use a `:default:` group. Requires docker-compose file version `3.2+`. ### `separator-cache-from` (optional, build only, single character)