mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-22 16:48:30 +01:00
Merge pull request #7386 from ninjadq/fix_http_scheme_on_install_sh
Fix: grep https not work
This commit is contained in:
commit
85fdf885e8
@ -192,7 +192,7 @@ docker-compose up -d
|
||||
protocol=http
|
||||
hostname=reg.mydomain.com
|
||||
|
||||
if [ -n "$(grep '^[^#]*https:' ./harbor.yml)"]
|
||||
if [ -n "$(grep '^[^#]*https:' ./harbor.yml)" ]
|
||||
then
|
||||
protocol=https
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user