mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2025-12-08 17:36:24 +00:00
13 lines
1.9 KiB
Markdown
13 lines
1.9 KiB
Markdown
# GitLab-CI Configuration
|
|
|
|
When using your own GitLab instance, the provided .gitlab-ci.yml will automatically be using the settings provided by the GitLab instance. If needed, several options can be overriden.
|
|
|
|
Overrides for these values can be set within the project, under `Settings` -> `CI/CD` -> `Variables`.
|
|
|
|
| Variable | Default Value | Description |
|
|
| ---------------------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
| `CI_REGISTRY` | `hub.docker.com` | If available this will be automatically overriden by registry address which is configured within the GitLab instance |
|
|
| `CI_REGISTRY_USER` | `gitlab-ci-token` | Username for the registry |
|
|
| `CI_REGISTRY_PASSWORD` | `${CI_JOB_TOKEN}` | Password for the registry |
|
|
| `DOCKER_IMAGE` | `sameersbn/gitlab` | Docker image name, will automatically be overriden by the running GitLab instance with the `${CI_PROJECT_PATH}` variable. This will cause the image to be uploaded to the local registry of the project within GitLab. |
|