Commit b70d20ff authored by Suzanne Selhorn's avatar Suzanne Selhorn

Docs: Updated example URL

Related to: https://gitlab.com/gitlab-org/gitlab/-/issues/238621
parent 5a9fa254
...@@ -677,22 +677,22 @@ the project. ...@@ -677,22 +677,22 @@ the project.
The following procedure uses these sample project names: The following procedure uses these sample project names:
- For the current project: `example.gitlab.com/org/build/sample_project/cr:v2.9.1` - For the current project: `gitlab.example.com/org/build/sample_project/cr:v2.9.1`
- For the new project: `example.gitlab.com/new_org/build/new_sample_project/cr:v2.9.1` - For the new project: `gitlab.example.com/new_org/build/new_sample_project/cr:v2.9.1`
Use your own URLs to complete the following steps: Use your own URLs to complete the following steps:
1. Download the Docker images on your computer: 1. Download the Docker images on your computer:
```shell ```shell
docker login example.gitlab.com docker login gitlab.example.com
docker pull example.gitlab.com/org/build/sample_project/cr:v2.9.1 docker pull gitlab.example.com/org/build/sample_project/cr:v2.9.1
``` ```
1. Rename the images to match the new project name: 1. Rename the images to match the new project name:
```shell ```shell
docker tag example.gitlab.com/org/build/sample_project/cr:v2.9.1 example.gitlab.com/new_org/build/new_sample_project/cr:v2.9.1 docker tag gitlab.example.com/org/build/sample_project/cr:v2.9.1 gitlab.example.com/new_org/build/new_sample_project/cr:v2.9.1
``` ```
1. Delete the images in both projects by using the [UI](#delete-images) or [API](../../../api/packages.md#delete-a-project-package). 1. Delete the images in both projects by using the [UI](#delete-images) or [API](../../../api/packages.md#delete-a-project-package).
...@@ -702,7 +702,7 @@ Use your own URLs to complete the following steps: ...@@ -702,7 +702,7 @@ Use your own URLs to complete the following steps:
1. Restore the images: 1. Restore the images:
```shell ```shell
docker push example.gitlab.com/new_org/build/new_sample_project/cr:v2.9.1 docker push gitlab.example.com/new_org/build/new_sample_project/cr:v2.9.1
``` ```
Follow [this issue](https://gitlab.com/gitlab-org/gitlab/-/issues/18383) for details. Follow [this issue](https://gitlab.com/gitlab-org/gitlab/-/issues/18383) for details.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment