#!/bin/bash
set -e

case "$1" in
  java17)
    echo "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.2%2B8/OpenJDK17U-jdk_x64_linux_hotspot_17.0.2_8.tar.gz"
  ;;
  java18)
		 echo "https://github.com/adoptium/temurin18-binaries/releases/download/jdk18-2022-02-12-08-06-beta/OpenJDK18-jdk_x64_linux_hotspot_2022-02-12-08-06.tar.gz"
  ;;
  *)
    echo $"Unknown java version"
    exit 1
esac

#!/bin/bash
set -e

case "$1" in
  java17)
    echo "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.2%2B8/OpenJDK17U-jdk_x64_linux_hotspot_17.0.2_8.tar.gz"
  ;;
  java18)
		 echo "https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18%2B36/OpenJDK18U-jdk_x64_linux_hotspot_18_36.tar.gz"
  ;;
  *)
    echo $"Unknown java version"
    exit 1
esac

Upgrade to JDK 18 GA in CI image
Upgrade to JDK 18 GA in CI image
