Skip to content

Commit

Permalink
Merge branch 'master' into issue245-ltsc2022-support
Browse files Browse the repository at this point in the history
  • Loading branch information
lemeurherve committed Mar 27, 2024
2 parents 3f40102 + 30da4ec commit e1c29ca
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 0 deletions.
24 changes: 24 additions & 0 deletions build-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,29 @@ services:
TOOLS_WINDOWS_VERSION: ${TOOLS_WINDOWS_VERSION}
tags:
- "${DOCKERHUB_ORGANISATION}/${DOCKERHUB_REPO}:${VERSION}-${WINDOWS_FLAVOR}-${WINDOWS_VERSION_TAG}-jdk11"
jdk17:
image: ${DOCKERHUB_ORGANISATION}/${DOCKERHUB_REPO}:${WINDOWS_FLAVOR}-${WINDOWS_VERSION_TAG}-jdk17
build:
context: ./
dockerfile: ./windows/${WINDOWS_FLAVOR}/Dockerfile
args:
JAVA_HOME: "C:/openjdk-17"
JAVA_VERSION: 17.0.10_7
WINDOWS_VERSION_TAG: ${WINDOWS_VERSION_TAG}
TOOLS_WINDOWS_VERSION: ${TOOLS_WINDOWS_VERSION}
tags:
- "${DOCKERHUB_ORGANISATION}/${DOCKERHUB_REPO}:${VERSION}-${WINDOWS_FLAVOR}-${WINDOWS_VERSION_TAG}-jdk17"
- "${DOCKERHUB_ORGANISATION}/${DOCKERHUB_REPO}:${VERSION}-${WINDOWS_FLAVOR}-${WINDOWS_VERSION_TAG}"
- "${DOCKERHUB_ORGANISATION}/${DOCKERHUB_REPO}:${WINDOWS_FLAVOR}-${WINDOWS_VERSION_TAG}"
jdk21:
image: ${DOCKERHUB_ORGANISATION}/${DOCKERHUB_REPO}:${WINDOWS_FLAVOR}-${WINDOWS_VERSION_TAG}-jdk21
build:
context: ./
dockerfile: ./windows/${WINDOWS_FLAVOR}/Dockerfile
args:
JAVA_HOME: "C:/openjdk-21"
JAVA_VERSION: 21.0.2_13
WINDOWS_VERSION_TAG: ${WINDOWS_VERSION_TAG}
TOOLS_WINDOWS_VERSION: ${TOOLS_WINDOWS_VERSION}
tags:
- "${DOCKERHUB_ORGANISATION}/${DOCKERHUB_REPO}:${VERSION}-${WINDOWS_FLAVOR}-${WINDOWS_VERSION_TAG}-jdk21"
1 change: 1 addition & 0 deletions updatecli/updatecli.d/jdk11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ targets:
file: build-windows.yaml
key: $.services.jdk11.build.args.JAVA_VERSION
scmid: default

actions:
default:
kind: github/pullrequest
Expand Down
8 changes: 8 additions & 0 deletions updatecli/updatecli.d/jdk17.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ targets:
file: docker-bake.hcl
path: variable.JAVA17_VERSION.default
scmid: default
setJDK17VersionDockerCompose:
name: "Bump JDK17 version for Windows images in the build-windows.yaml file"
kind: yaml
sourceid: jdk17LastVersion
spec:
file: build-windows.yaml
key: $.services.jdk17.build.args.JAVA_VERSION
scmid: default
setJDK17VersionAlpine:
name: "Bump JDK17 default ARG version on Alpine Dockerfile"
kind: dockerfile
Expand Down
8 changes: 8 additions & 0 deletions updatecli/updatecli.d/jdk21.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ targets:
file: docker-bake.hcl
path: variable.JAVA21_VERSION.default
scmid: default
setJDK21VersionDockerCompose:
name: "Bump JDK21 version for Windows images in the build-windows.yaml file"
kind: yaml
sourceid: jdk21LastVersion
spec:
file: build-windows.yaml
key: $.services.jdk21.build.args.JAVA_VERSION
scmid: default

actions:
default:
Expand Down

0 comments on commit e1c29ca

Please sign in to comment.