mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-25 11:46:43 +01:00
1c76d52152
And the install_cert.sh will changed for non-root too Signed-off-by: DQ <dengq@vmware.com>
14 lines
343 B
Bash
14 lines
343 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# The directory /var/lib/registry is within the container, and used to store image in CI testing.
|
|
# So for now we need to chown to it to avoid failure in CI.
|
|
# if [ -d /var/lib/registry ]; then
|
|
# chown 10000:10000 -R /var/lib/registry
|
|
# fi
|
|
|
|
/home/harbor/install_cert.sh
|
|
|
|
/usr/bin/registry serve /etc/registry/config.yml
|