docker-repository/docker-entrypoint.sh

11 lines
169 B
Bash
Raw Normal View History

2022-08-18 16:40:58 +00:00
#!/bin/sh
set -e
case "$1" in
*.yaml|*.yml) set -- docker-registry serve "$@" ;;
serve|garbage-collect|help|-*) set -- docker-registry "$@" ;;
esac
exec "$@"