Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #275 from jenkinsci/timja-patch-1
Browse files Browse the repository at this point in the history
Remove -preview from jdk17 images
  • Loading branch information
timja authored Sep 3, 2022
2 parents 708e03d + 4c21f7b commit f24e49c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion 17/debian/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG version=4.10-6-jdk17-preview
ARG version=4.13.3-2-jdk17
FROM jenkins/agent:$version

ARG version
Expand Down
18 changes: 9 additions & 9 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ group "linux-ppc64le" {

# update this to use a newer build number of the jenkins/agent image
variable "AGENT_IMAGE_BUILD_NUMBER" {
default = "1"
default = "2"
}

variable "REGISTRY" {
Expand All @@ -38,7 +38,7 @@ variable "JENKINS_REPO" {
}

variable "REMOTING_VERSION" {
default = "4.13.2"
default = "4.13.3"
}

# Used in the tag pushed to the jenkins/inbound-agent image, no need to update this the pipeline will change it
Expand Down Expand Up @@ -88,9 +88,9 @@ target "alpine_jdk17" {
version = "${REMOTING_VERSION}-${AGENT_IMAGE_BUILD_NUMBER}-alpine-jdk17"
}
tags = [
equal(ON_TAG, "true") ? "${REGISTRY}/${JENKINS_REPO}:${REMOTING_VERSION}-${BUILD_NUMBER}-alpine-jdk17-preview": "",
"${REGISTRY}/${JENKINS_REPO}:alpine-jdk17-preview",
"${REGISTRY}/${JENKINS_REPO}:latest-alpine-jdk17-preview",
equal(ON_TAG, "true") ? "${REGISTRY}/${JENKINS_REPO}:${REMOTING_VERSION}-${BUILD_NUMBER}-alpine-jdk17": "",
"${REGISTRY}/${JENKINS_REPO}:alpine-jdk17",
"${REGISTRY}/${JENKINS_REPO}:latest-alpine-jdk17",
]
platforms = ["linux/amd64"]
}
Expand Down Expand Up @@ -129,12 +129,12 @@ target "debian_jdk17" {
dockerfile = "17/debian/Dockerfile"
context = "."
args = {
version = "${REMOTING_VERSION}-${AGENT_IMAGE_BUILD_NUMBER}-jdk17-preview"
version = "${REMOTING_VERSION}-${AGENT_IMAGE_BUILD_NUMBER}-jdk17"
}
tags = [
equal(ON_TAG, "true") ? "${REGISTRY}/${JENKINS_REPO}:${REMOTING_VERSION}-${BUILD_NUMBER}-jdk17-preview": "",
"${REGISTRY}/${JENKINS_REPO}:jdk17-preview",
"${REGISTRY}/${JENKINS_REPO}:latest-jdk17-preview",
equal(ON_TAG, "true") ? "${REGISTRY}/${JENKINS_REPO}:${REMOTING_VERSION}-${BUILD_NUMBER}-jdk17": "",
"${REGISTRY}/${JENKINS_REPO}:jdk17",
"${REGISTRY}/${JENKINS_REPO}:latest-jdk17",
]
platforms = ["linux/amd64", "linux/arm64", "linux/arm/v7"]
}

0 comments on commit f24e49c

Please sign in to comment.