summaryrefslogtreecommitdiff
path: root/lib/api/templates.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/templates.rb')
-rw-r--r--lib/api/templates.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/api/templates.rb b/lib/api/templates.rb
index 442fef1a848..2d887e15f28 100644
--- a/lib/api/templates.rb
+++ b/lib/api/templates.rb
@@ -9,7 +9,10 @@ module API
klass: Gitlab::Template::GitlabCiYmlTemplate,
gitlab_version: 8.9
},
- dockerfiles: Gitlab::Template::DockerfileTemplate
+ dockerfiles: {
+ klass: Gitlab::Template::DockerfileTemplate,
+ gitlab_version: 8.9
+ }
}.freeze
PROJECT_TEMPLATE_REGEX =
/[\<\{\[]