diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..4d4c059 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# 保证 shell 脚本始终使用 LF 换行,避免 Windows CRLF 破坏 bash 执行 +*.sh text eol=lf \ No newline at end of file diff --git a/deploy/start.sh b/deploy/start.sh index 0434679..74ec6c3 100644 --- a/deploy/start.sh +++ b/deploy/start.sh @@ -5,7 +5,7 @@ set -euo pipefail -IMAGE_NAME="registry" +IMAGE_NAME="registry-app" IMAGE_TAG="${IMAGE_TAG:-latest}" CONTAINER_NAME="registry" HOST_PORT="${HOST_PORT:-8008}"