Skip to content

Commit

Permalink
rephrase explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
pzeballos authored Oct 12, 2023
1 parent 335f48a commit 9c1cfbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9c1cfbe

Please sign in to comment.