Skip to content

Commit

Permalink
fix dockerAlias
Browse files Browse the repository at this point in the history
  • Loading branch information
beetlecrunch committed Sep 5, 2023
1 parent 3a5a54b commit be7e82e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ lazy val root = (project in file("."))
Docker / version := (ThisBuild / version).value.replaceAll("-SNAPSHOT", "-latest").toLowerCase,
Docker / packageName := s"${name.value}",
Docker / dockerExposedPorts := Seq(8080),
Docker / dockerAlias := s"commit-${System.getenv("COMMIT_SHA")}",
Docker / dockerAlias := DockerAlias(None, None, name.value, Some(s"commit-${System.getenv("COMMIT_SHA")}")),
/* Docker / dockerAliases := Seq( */
/* dockerAlias.value, */
/* Option(System.getenv("COMMIT_SHA")).fold(dockerAlias.value)(t => dockerAlias.value.withTag(Some(s"commit-$t"))) */
Expand Down

0 comments on commit be7e82e

Please sign in to comment.