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

Commit f3be7c7

Browse files
author
jc-berger
committed
revised procedure steps
1 parent 46c32a3 commit f3be7c7

File tree

2 files changed

+14
-16
lines changed

2 files changed

+14
-16
lines changed

docs/modules/.DS_Store

0 Bytes
Binary file not shown.

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

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -214,17 +214,19 @@ 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-
=== Using registry.redhat.io base images for builds
217+
=== Building with Red Hat Container Registry tokens
218218

219-
Retrieve the Red Hat Container Registry token and configure your application to use this token. Using this token improves the build process of your application.
219+
To improve your application-building experience, configure a Red Hat Container Registry token.
220220

221221
.Procedure
222222

223-
Retrieve the Red Hat Container Registry token by following these steps:
223+
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].
226-
. Create a new Registry service account by selecting *New Service Account*.
227-
. Retrieve the Registry service account token as a “Docker Configuration”:
225+
. Go to link:https://access.redhat.com/terms-based-registry/#/[registry service account].
226+
. 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:
228230
```
229231
{
230232
"auths": {
@@ -236,16 +238,12 @@ Retrieve the Red Hat Container Registry token by following these steps:
236238
```
237239
.Procedure
238240

239-
Configure your application to use the Red Hat Container Registry token by following these steps:
241+
Configure your application to use the Red Hat Container Registry token that you created by following these steps:
240242

241243
. Go to *Component Settings*.
242244
. Select *Create new build secret*.
243-
. In the *Create new build secret* modal, add the registry.redhat.io token to be used as a pull secret:
244-
.. In the *Key* input field, enter *.dockerconfigjson*.
245-
.. In the *Select or Enter Name* input field, enter *registry-redhat.io*.
246-
.. Input the Registry Service account token and select *Create*.
247-
.. From your command line, run `oc secrets link appstudio-pipeline registry-redhat-io`.
248-
249-
[role="_additional-resources"]
250-
.Additional resources
251-
For information about importing and configuring code to {ProductName} using the CLI, see link:https://redhat-appstudio.github.io/docs.stonesoup.io/Documentation/main/getting-started/getting_started_in_cli/#getting-started-in-the-cli[Getting started in the CLI].
245+
. In the *Create new build secret* modal, add the *registry.redhat.io* token that you want to use as a pull secret:
246+
.. In the *Key* field, enter *.dockerconfigjson*.
247+
.. 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`.

0 commit comments

Comments
 (0)