Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Commit c7ea8ff

Browse files
authored
Fix conditional for registry check
1 parent ea6b94b commit c7ea8ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/gitlab.rb.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ nginx['ssl_client_certificate'] = "{{ gitlab_nginx_ssl_client_certificate }}"
8282

8383
# GitLab registry.
8484
registry['enable'] = {{ gitlab_registry_enable }}
85-
{% if gitlab_registry_enable %}
85+
{% if gitlab_registry_enable == "true" %}
8686
registry_external_url "{{ gitlab_registry_external_url }}"
8787
registry_nginx['ssl_certificate'] = "{{ gitlab_registry_nginx_ssl_certificate }}"
8888
registry_nginx['ssl_certificate_key'] = "{{ gitlab_registry_nginx_ssl_certificate_key }}"

0 commit comments

Comments
 (0)