improve gitlab markdown

master
TBS093A 2023-03-10 16:06:18 +01:00
parent 74507d6e34
commit d04cc70c8a
1 changed files with 17 additions and 1 deletions

View File

@ -26,7 +26,7 @@ Host gitlab
Port 2222 Port 2222
``` ```
And you can use gitlab like that: And you can use gitlab like that (after append SSH key in Gtilab GUI):
```bash ```bash
git clone git@gitlab:devops-things/docker_images.git git clone git@gitlab:devops-things/docker_images.git
@ -38,6 +38,22 @@ run ```up.runners.sh``` at once (on first run), this script will configure runne
gitlab will remember what runner is already registered, and re-register is useless action in this case. gitlab will remember what runner is already registered, and re-register is useless action in this case.
## Gitlab Container Registry
you can defined docker registry url in ```GITLAB_OMNIBUS_CONFIG```, by default registry ist defined like that:
```yaml
registry_external_url 'http://docker-registry:5000/'
```
```docker-registry``` is registry container DNS address (inner network defined by docker)
Remember that if you want define external registry worked on HTTPS (with SSL), you must use ```https://``` protocol instead default ```http://``` protocol.
sources:
https://sleeplessbeastie.eu/2020/06/29/how-to-enable-gitlab-container-registry/
## Github importer ## Github importer
when you want import your github repos, you have to create access-token and paste it on ```project import``` form. In next step you can choose what repo you want import exactl. when you want import your github repos, you have to create access-token and paste it on ```project import``` form. In next step you can choose what repo you want import exactl.