Commit 0e7e3f79 authored by Noé Gaumont's avatar Noé Gaumont 🐙
Browse files

doc: update readme to explain customisation

fix #2
parent 7669c8c806cf
Pipeline #76576 passed with stage
in 25 seconds
......@@ -60,6 +60,36 @@ for instance, to see how it can be used.
You can also find the official documentation [here](,
and some examples [here](
## Job customisation
If you want to modify a job in your project, you can override it.
For example, you need to change the `rule` condition of `image_build`.
This is your default `.gitlab-ci.yml`:
- project: "open-source/gitlab-ci-templates"
ref: "branch/default"
- "templates/build-docker-image.yml" # build two docker images with image_build and image_build_latest
- ".gitlab-ci-extended.yml"
In `.gitlab-ci-extended.yml`, you can override the definition of the rule:
when: never
- if: '$CI_COMMIT_TAG'
when: on_success
Now the job `image_build` will run only on tags.
## Description of all the jobs
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