This commit is contained in:
2025-07-12 14:42:13 +08:00
parent 2d9c45c3ee
commit c39c256972

View File

@ -57,7 +57,10 @@ jobs:
# 设置镜像标签
REGISTRY_HOST=$(echo "${{ gitea.server_url }}" | sed 's|https\?://||')
IMAGE_NAME="$REGISTRY_HOST/${{ lower(gitea.repository_owner) }}/hello-world-app"
LOWER_OWNER=$(echo "{{gitea.repository_owner}}" | tr '[:upper:]' '[:lower:]')
IMAGE_NAME="$REGISTRY_HOST/${{ LOWER_OWNER }}/hello-world-app"
IMAGE_TAG="latest"
COMMIT_SHA="${{ gitea.sha }}"