From 7a9afd09ad35c7ec83fc269a7700003d5604f3f6 Mon Sep 17 00:00:00 2001 From: Pedro Pereira Date: Thu, 22 Oct 2026 14:42:43 +0100 Subject: [PATCH] fix: Stop sbt publishing the CLI Docker image sbt's default image uses the removed openjdk:8 base, failing publish_lib; the real image comes from the Dockerfile. --- build.sbt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index ee424f0c..2f1e41a1 100644 --- a/build.sbt +++ b/build.sbt @@ -60,8 +60,7 @@ lazy val codacyAnalysisCli = project coverageExcludedPackages := ";com\\.codacy\\..*CLIError.*", Common.genericSettings, Universal / javaOptions ++= Seq("-XX:MinRAMPercentage=60.0", "-XX:MaxRAMPercentage=90.0"), - publish := (Docker / publish).value, - publishLocal := (Docker / publishLocal).value, + publish / skip := true, publishArtifact := false, assembly / assemblyJarName := "codacy-analysis-cli-assembly.jar", libraryDependencies ++= Dependencies.pprint +: Dependencies.specs2)