mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
UPD .gitlab-ci.yml UPD: Dockerfile UPD: circle-ci.yml DEL: ci/gitlab -> moved to .gitlab-ci.yml ADD: Labels ADD: Docker Daemon build hook ADD: Build Arguments
1.8 KiB
1.8 KiB
Gitlab-CI Configuration
When using your own gitlab instance, the provided .gitlab-ci.yml will be 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_PASS |
${CI_JOB_TOKEN} |
Password for the registry |
DOCKER_IMAGE |
sameersbn/gitlab |
Docker image name, will be automatically be overriden by the running Gitlan instance with the ${C_PROJECT_PATH} variable. This will case the image to be uploaded to the local registry of the project within Gitlab. |