sbt-native-packager
sbt-native-packager copied to clipboard
GraalVMNativeImagePlugin using deprecated container pull URL
It is mentioned in https://github.com/graalvm/container/pkgs/container/graalvm-ce/ that graalvm-ce is deprecated and graalvm-community should be used instead.
Expected behaviour
GraalVMNativeImagePlugin should use https://ghcr.io/graalvm/graalvm-community to pull images.
Actual behaviour
It is using https://ghcr.io/graalvm/graalvm-ce which is deprecated
Thanks a lot @utkuaydn
Would you like to fix this? If yes, I can try to point you in the right directions
Hi @muuki88, I'd love to help out, let me know where and what to do and I'll do my best :)
Hi @utkuaydn
Thanks a lot for offering help :heart: This is great.
The base image is currently defined here:
https://github.com/sbt/sbt-native-packager/blob/c882ac2e75ce5d25f3ed7ef8c8cc2b29ae1a7b51/src/main/scala/com/typesafe/sbt/packager/graalvmnativeimage/GraalVMNativeImagePlugin.scala#L31
There are two sbt integration tests here that may require adaption: https://github.com/sbt/sbt-native-packager/tree/main/src/sbt-test/graalvm-native-image