This commit is contained in:
@ -15,8 +15,14 @@ jobs:
|
||||
|
||||
- name: 输出所有Gitea Actions变量 (JSON格式)
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user