harbor/docs/1.10/working-with-projects/retagging-images.md

18 lines
683 B
Markdown
Raw Normal View History

---
title: Retagging Images
2020-02-11 16:24:43 +01:00
weight: 75
---
2019-10-17 15:47:25 +02:00
2020-01-15 15:57:54 +01:00
You can retag images in Harbor. Users with sufficient privileges can retag images to different repositories and projects. For example, you can retag images as follows:
2019-10-17 15:47:25 +02:00
2020-01-15 15:57:54 +01:00
- `release/app:stg` --> `release/app:prd`
- `develop/app:v1.0` --> `release/app:v1.0`
2019-10-17 15:47:25 +02:00
2020-01-15 15:57:54 +01:00
To retag an image, you must have read permission (guest role or above) in the source project and write permission (developer role or above) in the target project.
In the Harbor interface, select the image to retag, and click `Retag`.
2019-10-17 15:47:25 +02:00
![retag image](../img/retag-image.png)
2019-10-17 15:47:25 +02:00
2020-01-15 15:57:54 +01:00
In the Retag windown, enter the project name, repository name, the new tag name, and click **Confirm**.