Skip to content

Commit 5222576

Browse files
committed
[OPENJDK-3052] parameterize builder image tag
<https://issues.redhat.com/browse/OPENJDK-3052> Signed-off-by: Jonathan Dowland <[email protected]>
1 parent 9139fa2 commit 5222576

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

templates/jlink/jlinked-app.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ parameters:
1212
name: JDK_VERSION
1313
value: "11"
1414
required: true
15+
- description: OpenJDK builder image version tag
16+
name: BUILDER_IMAGE_TAG
17+
value: "latest"
18+
required: true
1519
- description: Application to run the jlink workflow on
1620
name: APP_URI
1721
required: true
@@ -68,7 +72,7 @@ objects:
6872
dockerStrategy:
6973
from:
7074
kind: ImageStreamTag
71-
name: ubi9-openjdk-${JDK_VERSION}:1.18 # Refer README.md to create this ImageStream
75+
name: ubi9-openjdk-${JDK_VERSION}:${BUILDER_IMAGE_TAG} # Refer README.md to create this ImageStream
7276
output:
7377
to:
7478
kind: ImageStreamTag
@@ -79,7 +83,7 @@ objects:
7983
imageChange:
8084
from:
8185
kind: ImageStreamTag
82-
name: ubi9-openjdk-${JDK_VERSION}:1.18 # UBI9 OpenJDK ImageStreams with `jlink-dev` support
86+
name: ubi9-openjdk-${JDK_VERSION}:${BUILDER_IMAGE_TAG}
8387
##############################################################################
8488
# stage-2: Output ImageStream
8589
- apiVersion: image.openshift.io/v1

0 commit comments

Comments
 (0)