Skip to content

Commit

Permalink
Merge pull request #507 from jmtd/OPENJKD-3052-jlink-builder-tag-temp…
Browse files Browse the repository at this point in the history
…late

[OPENJDK-3052] parameterize builder image tag [jlink]
  • Loading branch information
jmtd authored Dec 4, 2024
2 parents 6548e31 + 023a905 commit d0cf783
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions templates/jlink/jlinked-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ parameters:
name: JDK_VERSION
value: "11"
required: true
- description: OpenJDK builder image version tag
name: BUILDER_IMAGE_TAG
value: "latest"
- description: A name for the application used to ensure created resources are uniquely named
name: APPNAME
required: true
Expand Down Expand Up @@ -71,7 +74,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 @@ -82,7 +85,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 d0cf783

Please sign in to comment.