Skip to content

Commit 29f7c36

Browse files
committed
Update README for appname parameter and docker tags
1 parent cc93f0e commit 29f7c36

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

templates/jlink/README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ prepare UBI9 OpenJDK ImageStreams with `jlink-dev` support.
3737
5. tag and push the dev image into it. The OpenShift console gives you the
3838
exact URI for your instance
3939

40-
docker tag openjdk-tech-preview/openjdk-21-jlink-rhel9:1.18 default-route-openshift-image-registry.apps-crc.testing/jlink1/ubi9-openjdk-21-jlink-tech-preview:1.18
41-
docker push default-route-openshift-image-registry.apps-crc.testing/jlink1/ubi9-openjdk-21:1.18
40+
docker tag openjdk-tech-preview/openjdk-21-jlink-rhel9:latest default-route-openshift-image-registry.apps-crc.testing/jlink1/ubi9-openjdk-21-jlink-tech-preview:latest
41+
docker push default-route-openshift-image-registry.apps-crc.testing/jlink1/ubi9-openjdk-21:latest
4242

4343
## Stage 1: Load the template into OpenShift and instantiate it
4444

@@ -77,16 +77,18 @@ See all the OpenShift objects that were created:
7777

7878
There will be three BuildConfigs, called something like
7979

80-
1. jlink-builder-jdk-21
81-
2. jlink-s2i-jdk-21
82-
3. multistage-buildconfig
80+
1. $APPNAME-jlink-builder-jdk-21
81+
2. $APPNAME-jlink-s2i-jdk-21
82+
3. $APPNAME-multistage-buildconfig
83+
84+
Where $APPNAME is the parameter initially passed to the template.
8385

8486
Start a build for (1). Once complete, builds for (2) and (3) should be
8587
automatically triggered in sequence.
8688

8789
## Stage 4: create deployment
8890

89-
The ImageStreamTag `lightweight-image:latest` will be populated with the new
91+
The ImageStreamTag `$APPNAME-lightweight-image:latest` will be populated with the new
9092
application container image.
9193

9294
Create a deployment to see it work. E.g., in the Developer Perspective, select

0 commit comments

Comments
 (0)