diff --git a/updatecli/updatecli.d/jdk21.yaml b/updatecli/updatecli.d/jdk21.yaml index fee3cfb7c..4f0b46dfb 100644 --- a/updatecli/updatecli.d/jdk21.yaml +++ b/updatecli/updatecli.d/jdk21.yaml @@ -37,15 +37,60 @@ sources: from: "+" to: "_" +# Architectures must match those of the targets in docker-bake.hcl conditions: - checkIfReleaseIsAvailable: - kind: shell + checkTemurinAlpineDockerImage: + kind: dockerimage + name: Check if the container image "eclipse-temurin:-jdk-alpine" is available + disablesourceinput: true + spec: + architectures: + - amd64 + - arm64 + image: eclipse-temurin + tag: '{{source "lastVersion" }}-jdk-alpine' + checkTemurinDebianDockerImages: + kind: dockerimage + name: Check if the container image "eclipse-temurin:-jdk-focal" is available + disablesourceinput: true spec: - command: bash ./updatecli/scripts/check-jdk.sh # source input value passed as argument - transformers: - - replacer: - from: "_" - to: "+" + architectures: + - amd64 + - arm64 + image: eclipse-temurin + tag: '{{source "lastVersion" }}-jdk-focal' + checkTemurinNanoserver2019DockerImage: + kind: dockerimage + name: Check if the container image "eclipse-temurin:-jdk-nanoserver-1809" is available + disablesourceinput: true + spec: + architecture: amd64 + image: eclipse-temurin + tag: '{{source "lastVersion" }}-jdk-nanoserver-1809' + checkTemurinWindowsCore2019DockerImage: + kind: dockerimage + name: Check if the container image "eclipse-temurin:-jdk-windowsservercore-1809" is available + disablesourceinput: true + spec: + architecture: amd64 + image: eclipse-temurin + tag: '{{source "lastVersion" }}-jdk-windowsservercore-1809' + checkTemurinNanoserver2022DockerImage: + kind: dockerimage + name: Check if the container image "eclipse-temurin:-jdk-nanoserver-ltsc2022" is available + disablesourceinput: true + spec: + architecture: amd64 + image: eclipse-temurin + tag: '{{source "lastVersion" }}-jdk-nanoserver-ltsc2022' + checkTemurinWindowsCore2022DockerImage: + kind: dockerimage + name: Check if the container image "eclipse-temurin:-jdk-windowsservercore-ltsc2022" is available + disablesourceinput: true + spec: + architecture: amd64 + image: eclipse-temurin + tag: '{{source "lastVersion" }}-jdk-windowsservercore-ltsc2022' targets: setJDK21Version: