Merge branch 'docs/onlychanges' into 'master'

Improvement to ci/yaml documentation

See merge request gitlab-org/gitlab-ce!22613
This commit is contained in:
Grzegorz Bizon 2018-10-26 12:24:52 +00:00
commit 9791f82b4b
1 changed files with 2 additions and 0 deletions

View File

@ -474,6 +474,7 @@ docker build:
changes:
- Dockerfile
- docker/scripts/*
- dockerfiles/**/*
```
In the scenario above, if you are pushing multiple commits to GitLab to an
@ -482,6 +483,7 @@ one of the commits contains changes to either:
- The `Dockerfile` file.
- Any of the files inside `docker/scripts/` directory.
- Any of the files and subfolders inside `dockerfiles` directory.
CAUTION: **Warning:**
There are some caveats when using this feature with new branches and tags. See