fix newlines in containe file
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
Robert Kaussow 2023-08-05 17:44:22 +02:00
parent 0903aaf1ef
commit 63d2a09634
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ EnvironmentFile=/etc/containers/systemd/gitea.env
{% for item in gitea_volumes %}
Volume={{ item.name }}:{{ item.dest }}{{ ":" + item.opts if item.opts is defined else "" }}
{% endfor %}
{% if (gitea_cap_add + gitea_cap_drop) | length > 0 %}
{% if gitea_cap_add | length > 0 %}
AddCapability={{ gitea_cap_add | join(" ") }}
@ -22,6 +23,7 @@ AddCapability={{ gitea_cap_add | join(" ") }}
{% if gitea_cap_drop | length > 0 %}
DropCapability={{ gitea_cap_drop | join(" ") }}
{% endif %}
{% endi %}
Network={{ gitea_network }}
{% for item in gitea_exposed_ports %}