Skip to content

Commit

Permalink
Merge pull request #409 from buildkite-plugins/cache-from-details
Browse files Browse the repository at this point in the history
Add more info on cache-from
  • Loading branch information
pzeballos authored Oct 12, 2023
2 parents 1e096e4 + 9c1cfbe commit bfa33e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,8 @@ 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` before building, ignoring any failures. If multiple images are listed for a service, the first one to successfully pull will be used. Requires docker-compose file version `3.2+`.
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 bfa33e2

Please sign in to comment.