Skip to content

Commit

Permalink
add prefix commit- to dockerAlias
Browse files Browse the repository at this point in the history
  • Loading branch information
beetlecrunch committed Sep 1, 2023
1 parent 4170f04 commit e94621f
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 @@ -107,7 +107,7 @@ lazy val root = (project in file("."))
Docker / dockerExposedPorts := Seq(8080),
Docker / dockerAliases := Seq(
dockerAlias.value,
Option(System.getenv("COMMIT_SHA")).fold(dockerAlias.value)(t => dockerAlias.value.withTag(Some(t)))
Option(System.getenv("COMMIT_SHA")).fold(dockerAlias.value)(t => dockerAlias.value.withTag(Some(s"commit-$t")))
).distinct,
libraryDependencies := Dependencies.Jars.`server`,
Docker / maintainer := "https://pagopa.it",
Expand Down

0 comments on commit e94621f

Please sign in to comment.