# реестр Gitlab

### Вам потребуется

* [x] Полное имя репозитория в реестре GitLab
* [x] Ваш персональный токен доступа GitLab ИЛИ токен развертывания

### Токен доступа ИЛИ токен деплоя

Вы можете следовать этому [**руководству**](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html) чтобы создать персональный токен доступа

ИЛИ

Вы можете следовать этому [**руководству**](https://docs.gitlab.com/ee/user/project/deploy_tokens/index.html) чтобы создать токен развертывания

### Разделить полное имя репозитория

Учитывая этот полный репозиторий: **registry.gitlab.com/group/project**

Ваш **Репозиторий** будет: **registry.gitlab.com**

и ваш **Образ** будет: **group/project**

### Добавьте приложение на Edgegap

#### **Пример API**

```json
{
    [...]
    "docker_repository": "registry.gitlab.com",
    "docker_image": "group/project",
    "docker_tag": "v1",
    "private_username": "example@edgegap.com",
    "private_token": "<Персональный токен доступа ИЛИ токен развертывания>",
    [...]
}
```

#### **Из панели управления**

На нашей панели управления **Токен приватного реестра** будет содержимым вашего **Персональный токен доступа ИЛИ токен развертывания**

<figure><img src="/files/bebaa666cc7be283c5000f15fcba3ea6b9d2c194" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.edgegap.com/ru/docs/tools-and-integrations/container/external-registries/gitlab-registry.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
