diff options
-rw-r--r-- | roles/ands_kaas/templates/40-kaas-app-builders.yml.j2 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/roles/ands_kaas/templates/40-kaas-app-builders.yml.j2 b/roles/ands_kaas/templates/40-kaas-app-builders.yml.j2 index 090f15a..d033eda 100644 --- a/roles/ands_kaas/templates/40-kaas-app-builders.yml.j2 +++ b/roles/ands_kaas/templates/40-kaas-app-builders.yml.j2 @@ -45,7 +45,11 @@ objects: {{ type | lower }}Strategy: dockerfilePath: "{{ builder.dockerfile | default('Dockerfile') }}" {% if builder.args is defined %} - buildArgs: {{ builder.args | to_json }} + buildArgs: + {% for arg_name, arg_val in builder.args.iteritems() %} + - name: "{{ arg_name }}" + value: "{{ arg_val }}" + {% endfor %} {% endif %} {% else %} type: {{ type }} |