Skip to content

Commit 27152f4

Browse files
Quattro8zoobestik
authored andcommitted
KTL-2775 replace docker build with the scrip build
1 parent e33ed2f commit 27152f4

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.teamcity/documentation/builds/KotlinMultiplatform.kt

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,13 @@ object KotlinMultiplatform: BuildType ({
3838
script {
3939
name = "Build KMP Documentation with the docker"
4040
scriptContent = """
41-
docker run
42-
""".trimIndent()
43-
dockerImage = "registry.jetbrains.team/p/writerside/builder/writerside-builder:$dockerImageTag"
44-
dockerRunParameters = """
45-
-v %teamcity.build.checkoutDir%:/opt/sources
46-
-e SOURCE_DIR=/opt/sources
47-
-e PRODUCT=kotlin-multiplatform-docs/mpd
48-
-e RUNNER=teamcity
49-
-e FRONTEND=https://kotlinlang.org/docs/static/v3/
50-
-e OUTPUT_DIR=/opt/sources/artifacts
41+
docker run --rm -v %teamcity.build.checkoutDir%:/opt/sources \
42+
-e SOURCE_DIR=/opt/sources \
43+
-e PRODUCT=kotlin-multiplatform-docs/mpd \
44+
-e RUNNER=teamcity \
45+
-e FRONTEND=https://kotlinlang.org/docs/static/v3/ \
46+
-e OUTPUT_DIR=/opt/sources/artifacts \
47+
registry.jetbrains.team/p/writerside/builder/writerside-builder:$dockerImageTag \
5148
""".trimIndent()
5249
}
5350
}

0 commit comments

Comments
 (0)