diff --git a/src/main/groovy/com/avast/gradle/dockercompose/tasks/ComposeUp.groovy b/src/main/groovy/com/avast/gradle/dockercompose/tasks/ComposeUp.groovy index 7c684b0d..54c433b4 100644 --- a/src/main/groovy/com/avast/gradle/dockercompose/tasks/ComposeUp.groovy +++ b/src/main/groovy/com/avast/gradle/dockercompose/tasks/ComposeUp.groovy @@ -129,7 +129,7 @@ abstract class ComposeUp extends DefaultTask { } if (composeExecutor.get().isScaleSupported()) { args += scale.get().collect { service, value -> - ['--scale', "$service=$value"] + ['--scale', "$service=$value".toString()] }.flatten() } args += upAdditionalArgs.get()