20 lines
554 B
Kotlin
20 lines
554 B
Kotlin
package examples
|
|
|
|
import templates.DockerBuildTemplate
|
|
|
|
/**
|
|
* Example: Simple Docker build without PHP-specific features
|
|
*
|
|
* Use this for non-PHP projects that just need Docker build + push
|
|
*/
|
|
object ExampleSimpleBuild : DockerBuildTemplate({
|
|
registry = "registry.dot-dot.ru"
|
|
dockerfile = "Dockerfile"
|
|
tag = "%teamcity.build.branch%"
|
|
buildArgs = "--pull"
|
|
extraHosts = listOf("nexus.dot-dot.ru:192.168.100.110")
|
|
dockerRegistryId = "PROJECT_EXT_2"
|
|
giteaUrl = "https://gitea.dot-dot.ru/api/v1"
|
|
enableVcsTrigger = true
|
|
})
|