Commit f329c18a authored by Evan Read's avatar Evan Read

Merge branch 'docs-cache-path' into 'master'

docs: cache:paths - make clear, that only paths within the project folder can be cached.

See merge request gitlab-org/gitlab!18028
parents cb800ef7 485b00ec
......@@ -1289,7 +1289,7 @@ globally and all jobs will use that definition.
#### `cache:paths`
Use the `paths` directive to choose which files or directories will be cached.
Use the `paths` directive to choose which files or directories will be cached. You can only specify paths within your `$CI_PROJECT_DIR`.
Wildcards can be used that follow the [glob](https://en.wikipedia.org/wiki/Glob_(programming)) patterns and [filepath.Match](https://golang.org/pkg/path/filepath/#Match).
Cache all files in `binaries` that end in `.apk` and the `.config` file:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment