# Repositories

On the repository tab, you can add a repository and delete the repository. To add your repository you can follow the steps in sub-section [Push Repositories](https://docs.cloudeka.id/ci-cd/deka-registry/push).

## Scan Repositories

The scanning repository feature is the process of examining and analyzing images in the repository for security issues or other issues. Here are the steps to perform a repository scan:

* On the Repositories tab of the Registry page select the repositories to scan.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.6%20repo.png" alt=""><figcaption><p>Scan Repositories (a)</p></figcaption></figure>

* In the Action column click Scan.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.7%20scan.png" alt=""><figcaption><p>Scan Repositories (b)</p></figcaption></figure>

* Wait for the scan to complete.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.8%20scan.png" alt=""><figcaption><p>Scan Repositories (c)</p></figcaption></figure>

* In the Vulnerabilities column, see if a problem has been fixed.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.9%20scan.png" alt=""><figcaption><p>Scan Repositories (d)</p></figcaption></figure>

## Add Labels

To add labels to the repository, you can follow sub-section 18.5.1 Create Labels. Here are the steps to add a label to the repository:

* On the Repositories tab of the Registry page select the repositories to which to add labels.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.10%20repo.png" alt=""><figcaption><p>Add Labels (a)</p></figcaption></figure>

* In the Action column click Add Label.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.11%20add%20labels.png" alt=""><figcaption><p>Add Labels (b)</p></figcaption></figure>

* Check the label to attach to the repository.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.12%20add%20labels.png" alt=""><figcaption><p>Add Labels (c)</p></figcaption></figure>

* The Label addes successfully notification displays that the label was successfully added to the repository and in the Labels column there is a label icon attached to the repository.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.13%20add%20labels.png" alt=""><figcaption><p>Add Labels (d)</p></figcaption></figure>

## Delete Repositories

Here are the steps to delete a repository in the Deka Registry on the Cloudeka portal service.

* On the Deka Registry page of the Cloud service portal click the Delete button.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.14%20del%20repo.png" alt=""><figcaption><p>Delete Repositories (a)</p></figcaption></figure>

* Delete Repositories window displays press the Confirm key to continue with the repository removal process.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.15%20delrepo.png" alt=""><figcaption><p>Delete Repositories (b)</p></figcaption></figure>

* Display Repositories notification has been successfully deleted that the repository was deleted successfully.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.16%20delrepo.png" alt=""><figcaption><p>Delete Repositories (c)</p></figcaption></figure>
