File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -16,5 +16,6 @@ addSbtPlugin("net.vonbuchholtz" % "sbt-dependency-check" % "0.2.10")
1616addSbtPlugin(" com.github.gseitz" %% " sbt-release" % " 1.0.9" )
1717addSbtPlugin(" com.typesafe.sbt" % " sbt-native-packager" % " 1.3.19" )
1818addSbtPlugin(" org.scoverage" % " sbt-scoverage" % " 1.6.0" )
19+ addSbtPlugin(" com.typesafe.sbt" % " sbt-git" % " 1.0.0" )
1920
2021
Original file line number Diff line number Diff line change 11import scala .sys .process .Process
22import PythonBuildPlugin .autoImport .pyWhl
3+ import com .typesafe .sbt .git .DefaultReadableGit
34
45lazy val includeNotebooks = settingKey[Boolean ](" Whether to build documentation into notebooks and include them" )
56includeNotebooks := true
@@ -8,6 +9,11 @@ Docker / packageName := "s22s/rasterframes-notebook"
89
910Docker / version := version.value
1011
12+ dockerAliases += dockerAlias.value.withTag({
13+ val sha = new DefaultReadableGit (file(" ." )).withGit(_.headCommitSha)
14+ sha.map(_.take(7 ))
15+ })
16+
1117Docker / maintainer := organization.value
1218
1319Docker / sourceDirectory := baseDirectory.value / " src" / " main" / " docker"
You can’t perform that action at this time.
0 commit comments