forked from jenkinsci/docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-windows.yaml
50 lines (50 loc) · 2.38 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
services:
jdk11:
image: ${DOCKERHUB_ORGANISATION}/${DOCKERHUB_REPO}${SEPARATOR_LTS_PREFIX}jdk11-hotspot-${WINDOWS_FLAVOR}-${WINDOWS_VERSION}
build:
context: ./
dockerfile: ./windows/${WINDOWS_FLAVOR}/hotspot/Dockerfile
args:
COMMIT_SHA: ${COMMIT_SHA}
JAVA_HOME: "C:/openjdk-11"
JAVA_VERSION: 11.0.23_9
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}-jdk11-hotspot-${WINDOWS_FLAVOR}-${WINDOWS_VERSION}
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.11_9
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.3_9
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}