mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-26 18:48:02 +01:00
10 lines
154 B
Bash
10 lines
154 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
set -e
|
||
|
|
||
|
case "$1" in
|
||
|
*.yaml|*.yml) set -- registry serve "$@" ;;
|
||
|
serve|garbage-collect|help|-*) set -- registry "$@" ;;
|
||
|
esac
|
||
|
|
||
|
exec "$@"
|