fix newlines in containe file
continuous-integration/drone/pr Build is failing
Details
continuous-integration/drone/pr Build is failing
Details
This commit is contained in:
parent
0903aaf1ef
commit
63d2a09634
|
@ -15,6 +15,7 @@ EnvironmentFile=/etc/containers/systemd/gitea.env
|
||||||
{% for item in gitea_volumes %}
|
{% for item in gitea_volumes %}
|
||||||
Volume={{ item.name }}:{{ item.dest }}{{ ":" + item.opts if item.opts is defined else "" }}
|
Volume={{ item.name }}:{{ item.dest }}{{ ":" + item.opts if item.opts is defined else "" }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% if (gitea_cap_add + gitea_cap_drop) | length > 0 %}
|
||||||
|
|
||||||
{% if gitea_cap_add | length > 0 %}
|
{% if gitea_cap_add | length > 0 %}
|
||||||
AddCapability={{ gitea_cap_add | join(" ") }}
|
AddCapability={{ gitea_cap_add | join(" ") }}
|
||||||
|
@ -22,6 +23,7 @@ AddCapability={{ gitea_cap_add | join(" ") }}
|
||||||
{% if gitea_cap_drop | length > 0 %}
|
{% if gitea_cap_drop | length > 0 %}
|
||||||
DropCapability={{ gitea_cap_drop | join(" ") }}
|
DropCapability={{ gitea_cap_drop | join(" ") }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endi %}
|
||||||
|
|
||||||
Network={{ gitea_network }}
|
Network={{ gitea_network }}
|
||||||
{% for item in gitea_exposed_ports %}
|
{% for item in gitea_exposed_ports %}
|
||||||
|
|
Loading…
Reference in New Issue