Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Commit f319e78

Browse files
author
jc-berger
committed
applied second doc review
1 parent f3be7c7 commit f319e78

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

docs/modules/ROOT/pages/how-to-guides/Import-code/proc_importing_code.adoc

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -214,19 +214,20 @@ For more information about devfile contents requirements, see the "What is outer
214214
+
215215
**Solution:** Select a predefined runtime type from the **Review and configure for deployment** view. Make sure you meet all of the {ProductName} <<repository requirements>> for the runtime you select, or configure your own <<custom build and deployment instructions>>.
216216

217-
=== Building with Red Hat Container Registry tokens
217+
=== Creating a Red Hat Container Registry token
218218

219219
To improve your application-building experience, configure a Red Hat Container Registry token.
220220

221221
.Procedure
222222

223223
Create the Red Hat Container Registry token by following these steps:
224224

225-
. Go to link:https://access.redhat.com/terms-based-registry/#/[registry service account].
225+
. Go to link:https://access.redhat.com/terms-based-registry/#/[registry service accounts].
226226
. Create a new registry service account by clicking *New Service Account*.
227-
. Complete the `Name` and `Description` field.
228-
. For `Token Information`, click `Docker Configuration`.
229-
. Input the following Docker file:
227+
. Fill in the *Name* and *Description* field.
228+
. Click *Create*.
229+
. For *Token Information*, click *Docker Configuration*.
230+
. Enter the following Dockerfile registry authentication code:
230231
```
231232
{
232233
"auths": {
@@ -236,14 +237,17 @@ Create the Red Hat Container Registry token by following these steps:
236237
}
237238
}
238239
```
239-
.Procedure
240240

241-
Configure your application to use the Red Hat Container Registry token that you created by following these steps:
241+
=== Configuring your application to use a Red Hat Container Registry token
242+
243+
After creating the Red Hat Container Registry token, configure your application to use it.
244+
245+
.Procedure
242246

243247
. Go to *Component Settings*.
244248
. Select *Create new build secret*.
245249
. In the *Create new build secret* modal, add the *registry.redhat.io* token that you want to use as a pull secret:
246250
.. In the *Key* field, enter *.dockerconfigjson*.
247251
.. In the *Select or Enter Name* field, enter *registry-redhat.io*.
248-
.. Input the Registry Service account token and click *Create*.
249-
.. From your command line, run the command, `oc secrets link appstudio-pipeline registry-redhat-io`.
252+
.. Enter the Registry Service account token and click *Create*.
253+
.. From your command line, run the `oc secrets link appstudio-pipeline registry-redhat-io` command.

0 commit comments

Comments
 (0)