mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-30 06:03:45 +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 "$@" |