-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
build-windows.yaml
35 lines (35 loc) · 1.74 KB
/
build-windows.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
services:
jdk17:
image: ${DOCKERHUB_ORGANISATION}/${DOCKERHUB_REPO}${SEPARATOR_LTS_PREFIX}jdk17-hotspot-${WINDOWS_FLAVOR}-${WINDOWS_VERSION}
build:
context: ./
dockerfile: ./windows/${WINDOWS_FLAVOR}/hotspot/Dockerfile
args:
COMMIT_SHA: ${COMMIT_SHA}
JAVA_HOME: "C:/openjdk-17"
JAVA_VERSION: 17.0.13_11
JENKINS_SHA: ${JENKINS_SHA}
JENKINS_VERSION: ${JENKINS_VERSION}
TOOLS_WINDOWS_VERSION: ${TOOLS_WINDOWS_VERSION}
WINDOWS_VERSION: ${WINDOWS_VERSION}
tags:
- ${DOCKERHUB_ORGANISATION}/${DOCKERHUB_REPO}:${JENKINS_VERSION}-jdk17-hotspot-${WINDOWS_FLAVOR}-${WINDOWS_VERSION}
- ${DOCKERHUB_ORGANISATION}/${DOCKERHUB_REPO}:${JENKINS_VERSION}-${WINDOWS_FLAVOR}-${WINDOWS_VERSION}
- ${DOCKERHUB_ORGANISATION}/${DOCKERHUB_REPO}${SEPARATOR_LTS_PREFIX}${WINDOWS_FLAVOR}-${WINDOWS_VERSION}
jdk21:
image: ${DOCKERHUB_ORGANISATION}/${DOCKERHUB_REPO}${SEPARATOR_LTS_PREFIX}jdk21-hotspot-${WINDOWS_FLAVOR}-${WINDOWS_VERSION}
build:
context: ./
dockerfile: ./windows/${WINDOWS_FLAVOR}/hotspot/Dockerfile
args:
COMMIT_SHA: ${COMMIT_SHA}
JAVA_HOME: "C:/openjdk-21"
JAVA_VERSION: 21.0.5_11
JENKINS_SHA: ${JENKINS_SHA}
JENKINS_VERSION: ${JENKINS_VERSION}
TOOLS_WINDOWS_VERSION: ${TOOLS_WINDOWS_VERSION}
WINDOWS_VERSION: ${WINDOWS_VERSION}
tags:
- ${DOCKERHUB_ORGANISATION}/${DOCKERHUB_REPO}:${JENKINS_VERSION}-jdk21-hotspot-${WINDOWS_FLAVOR}-${WINDOWS_VERSION}
- ${DOCKERHUB_ORGANISATION}/${DOCKERHUB_REPO}:${JENKINS_VERSION}-${WINDOWS_FLAVOR}-${WINDOWS_VERSION}
- ${DOCKERHUB_ORGANISATION}/${DOCKERHUB_REPO}${SEPARATOR_LTS_PREFIX}${WINDOWS_FLAVOR}-${WINDOWS_VERSION}