小写镜像名12
All checks were successful
简单测试 / test (push) Successful in 14s

This commit is contained in:
2025-07-12 20:56:40 +08:00
parent e4aaa10650
commit c41de67c2a

View File

@ -15,8 +15,14 @@ jobs:
- name: 输出所有Gitea Actions变量 (JSON格式) - name: 输出所有Gitea Actions变量 (JSON格式)
run: | run: |
REPOSITORY_OWNER="${{ gitea.repository_owner }}"
echo "📦 镜像名称: $ZXC"
echo "${ "${{ gitea.repository }}" # "${{ gitea.repository_owner }}/" }" REPOSITORY="${{ gitea.repository }}"
echo "📦 镜像名称: $REPOSITORY"
REPO_NAME=${REPOSITORY_OWNER#$REPOSITORY/}
echo "📦 截取后的仓库名称: $REPO_NAME"
- name: 登录到Gitea Container Registry - name: 登录到Gitea Container Registry