ci: 修正镜像名 registry -> registry-app,锁定脚本 LF 换行
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 12s

This commit is contained in:
cheney 2026-07-16 14:31:10 +08:00
parent 13c3fc563f
commit e3e5d5bd8f
2 changed files with 3 additions and 1 deletions

2
.gitattributes vendored Normal file
View File

@ -0,0 +1,2 @@
# 保证 shell 脚本始终使用 LF 换行,避免 Windows CRLF 破坏 bash 执行
*.sh text eol=lf

View File

@ -5,7 +5,7 @@
set -euo pipefail set -euo pipefail
IMAGE_NAME="registry" IMAGE_NAME="registry-app"
IMAGE_TAG="${IMAGE_TAG:-latest}" IMAGE_TAG="${IMAGE_TAG:-latest}"
CONTAINER_NAME="registry" CONTAINER_NAME="registry"
HOST_PORT="${HOST_PORT:-8008}" HOST_PORT="${HOST_PORT:-8008}"