# Registre GitLab

### Vous devez avoir à portée de main

* [x] Nom complet de votre dépôt dans le registre GitLab
* [x] Votre jeton d'accès personnel GitLab OU un jeton de déploiement

### Jeton d'accès OU jeton de déploiement

Vous pouvez suivre ce [**Tutoriel**](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html) pour générer un jeton d'accès personnel

OU

Vous pouvez suivre ce [**Tutoriel**](https://docs.gitlab.com/ee/user/project/deploy_tokens/index.html) pour générer un jeton de déploiement

### Séparer le nom complet du dépôt

Étant donné ce dépôt complet : **registry.gitlab.com/groupe/projet**

Votre **Dépôt** sera : **registry.gitlab.com**

et votre **Image** sera : **groupe/projet**

### Ajoutez l'application sur Edgegap

#### **Exemple d'API**

```json
{
    [...]
    "docker_repository": "registry.gitlab.com",
    "docker_image": "groupe/projet",
    "docker_tag": "v1",
    "private_username": "example@edgegap.com",
    "private_token": "<Jeton d'accès personnel OU jeton de déploiement>",
    [...]
}
```

#### **Depuis le tableau de bord**

Depuis notre tableau de bord, le **jeton du registre privé** sera le contenu de votre **Jeton d'accès personnel OU jeton de déploiement**

<figure><img src="/files/bb7baf1413795aa953134fbfcc68fd225457cf27" 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/docs.edgegap.com-fr/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.
