Skip to content

Commit

Permalink
[OPENJDK-3052] parameterize builder image tag
Browse files Browse the repository at this point in the history
  • Loading branch information
jmtd committed Oct 18, 2024
1 parent 9139fa2 commit 5222576
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions templates/jlink/jlinked-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ parameters:
name: JDK_VERSION
value: "11"
required: true
- description: OpenJDK builder image version tag
name: BUILDER_IMAGE_TAG
value: "latest"
required: true
- description: Application to run the jlink workflow on
name: APP_URI
required: true
Expand Down Expand Up @@ -68,7 +72,7 @@ objects:
dockerStrategy:
from:
kind: ImageStreamTag
name: ubi9-openjdk-${JDK_VERSION}:1.18 # Refer README.md to create this ImageStream
name: ubi9-openjdk-${JDK_VERSION}:${BUILDER_IMAGE_TAG} # Refer README.md to create this ImageStream
output:
to:
kind: ImageStreamTag
Expand All @@ -79,7 +83,7 @@ objects:
imageChange:
from:
kind: ImageStreamTag
name: ubi9-openjdk-${JDK_VERSION}:1.18 # UBI9 OpenJDK ImageStreams with `jlink-dev` support
name: ubi9-openjdk-${JDK_VERSION}:${BUILDER_IMAGE_TAG}
##############################################################################
# stage-2: Output ImageStream
- apiVersion: image.openshift.io/v1
Expand Down

0 comments on commit 5222576

Please sign in to comment.