This commit is contained in:
parent
bf8a400bd9
commit
e56614ea35
@ -51,13 +51,13 @@ write_files:
|
||||
|
||||
- path: /root/.docker/config.json
|
||||
content: |
|
||||
{{ inst.docker_auth_config | default(droneci_autoscaler_docker_auth_config) | to_nice_json | indent(width=6, indentfirst=False) }}
|
||||
{{ inst.docker_auth_config | default(droneci_autoscaler_docker_auth_config) | to_nice_json(indent=2) | indent(width=6) }}
|
||||
{% endif %}
|
||||
|
||||
- path: /etc/drone.conf
|
||||
content: |
|
||||
{% if inst.docker_auth_config | default(droneci_autoscaler_docker_auth_config) is defined %}
|
||||
PLUGIN_CONFIG={{ inst.docker_auth_config | default(droneci_autoscaler_docker_auth_config) | regex_replace("\s+", " ") }}
|
||||
PLUGIN_CONFIG={{ inst.docker_auth_config | default(droneci_autoscaler_docker_auth_config) | to_nice_json(indent=2) | regex_replace("\s+", " ") }}
|
||||
{% endif %}
|
||||
|
||||
- path: /etc/docker/ca.pem
|
||||
|
Loading…
Reference in New Issue
Block a user