Skip to content

Commit e6b995f

Browse files
committed
hack: ensure that only JDK8 images are built and published
Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
1 parent 1934fcf commit e6b995f

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.ci/publish.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ publish() {
121121
COMMIT_SHA=$(git rev-parse HEAD)
122122
export COMMIT_SHA JENKINS_VERSION JENKINS_SHA LATEST_WEEKLY LATEST_LTS
123123

124-
docker buildx bake --file docker-bake.hcl "${build_opts[@]+"${build_opts[@]}"}" linux
124+
# Build and publish JDK8 images
125+
docker buildx bake --file docker-bake.hcl "${build_opts[@]+"${build_opts[@]}"}" linux_jdk8
125126
}
126127

127128
# Process arguments

docker-bake.hcl

+9
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ group "linux" {
1212
]
1313
}
1414

15+
group "linux_jdk8" {
16+
targets = [
17+
"alpine_jdk8",
18+
"centos7_jdk8",
19+
"debian_jdk8",
20+
"debian_slim_jdk8",
21+
]
22+
}
23+
1524
group "linux-arm64" {
1625
targets = [
1726
"debian_jdk17",

0 commit comments

Comments
 (0)