Commit 5f90ea0a authored by Tim Poffenbarger's avatar Tim Poffenbarger Committed by Suzanne Selhorn

Provide details regarding builds directory

parent c9a19a21
......@@ -128,6 +128,10 @@ For example, the following two definitions are equal:
- name: redis:latest
```
## Where scripts are executed
When a CI job runs in a Docker container, the `before_script`, `script`, and `after_script` commands run in the `/builds/<project-path>/` directory. Your image may have a different default `WORKDIR` defined. To move to your `WORKDIR`, save the `WORKDIR` as an environment variable so you can reference it in the container during the job's runtime.
### Available settings for `image`
> Introduced in GitLab and GitLab Runner 9.4.
......
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