diff --git a/src/main/scala/com/typesafe/sbt/packager/docker/DockerPlugin.scala b/src/main/scala/com/typesafe/sbt/packager/docker/DockerPlugin.scala index c353cd60f..e3118c18e 100644 --- a/src/main/scala/com/typesafe/sbt/packager/docker/DockerPlugin.scala +++ b/src/main/scala/com/typesafe/sbt/packager/docker/DockerPlugin.scala @@ -78,7 +78,7 @@ object DockerPlugin extends AutoPlugin { dockerExposedUdpPorts := Seq(), dockerExposedVolumes := Seq(), dockerRepository := None, - dockerAlias := DockerAlias(dockerRepository.value, None, packageName.value, Some(version.value)), + dockerAlias := DockerAlias(dockerRepository.value, None, packageName.value, Some((version in Docker).value)), dockerUpdateLatest := false, dockerEntrypoint := Seq("bin/%s" format executableScriptName.value), dockerCmd := Seq(),