From ff4a8b04cfffc2f5489c21df087ff9163c4c6761 Mon Sep 17 00:00:00 2001 From: Hossein Naderi Date: Sat, 10 Sep 2022 15:46:23 +0430 Subject: [PATCH] Fixed NativePackagerDockerIntegrationPlugin image --- .../main/scala/NativePackagerDockerIntegrationPlugin.scala | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/cookbook/src/main/scala/NativePackagerDockerIntegrationPlugin.scala b/cookbook/src/main/scala/NativePackagerDockerIntegrationPlugin.scala index b5c6844..208b99c 100644 --- a/cookbook/src/main/scala/NativePackagerDockerIntegrationPlugin.scala +++ b/cookbook/src/main/scala/NativePackagerDockerIntegrationPlugin.scala @@ -29,11 +29,6 @@ object NativePackagerDockerIntegrationPlugin extends AutoPlugin { import K8SMicroservicePlugin.autoImport.microserviceImage override def projectSettings: Seq[Setting[_]] = Seq( - microserviceImage := { - val reg = - (Docker / dockerRepository).value.map(s => s"$s/").getOrElse("") - val name = (Docker / dockerAlias).value - s"$reg$name" - } + microserviceImage := (Docker / dockerAlias).value.toString() ) }