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

Commit a794d01

Browse files
authored
Merge pull request #157 from wilsonge/patch-1
Fix conditional for registry check
2 parents cb5981d + c7ea8ff commit a794d01

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)