Skip to content

Commit

Permalink
fix(docker): remove docker from publishing stage
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasfara committed Aug 12, 2022
1 parent 854a1cb commit 2406253
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion .releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ plugins:
- publishCmd: |
export CI_COMMIT_TAG="true"
sbt ci-release
sbt 'set ThisBuild / version := "${nextRelease.version}"' docker:publish
- - '@semantic-release/git'
- assets:
- CHANGELOG.md
Expand Down
6 changes: 6 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ ThisBuild / homepage := Some(url("https://github.com/atedeg/mdm"))
ThisBuild / licenses := List("Apache-2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0"))
ThisBuild / versionScheme := Some("early-semver")

ThisBuild / Docker / dockerUsername := Some("atedeg")

ThisBuild / ubidoc / targetDirectory := baseDirectory.value / "_includes"
ThisBuild / ubidoc / lookupDirectory := target.value / "site"

Expand Down Expand Up @@ -145,6 +147,7 @@ lazy val production = project
.enablePlugins(DockerPlugin, JavaAppPackaging)
.in(file("production"))
.settings(commonSettings)
.settings(commonDockerSettings)
.settings(
dockerExposedPorts := Seq(8080),
)
Expand All @@ -162,6 +165,7 @@ lazy val stocking = project
.enablePlugins(DockerPlugin, JavaAppPackaging)
.in(file("stocking"))
.settings(commonSettings)
.settings(commonDockerSettings)
.settings(
dockerExposedPorts := Seq(8080),
)
Expand All @@ -171,6 +175,7 @@ lazy val `client-orders` = project
.enablePlugins(DockerPlugin, JavaAppPackaging)
.in(file("client-orders"))
.settings(commonSettings)
.settings(commonDockerSettings)
.settings(
dockerExposedPorts := Seq(8080),
)
Expand All @@ -190,6 +195,7 @@ lazy val `production-planning` = project
.enablePlugins(DockerPlugin, JavaAppPackaging)
.in(file("production-planning"))
.settings(commonSettings)
.settings(commonDockerSettings)
.settings(
dockerExposedPorts := Seq(8080),
)
Expand Down

0 comments on commit 2406253

Please sign in to comment.