fix(workflow): repo needed a fully localcase name for docker push

This commit is contained in:
2026-03-06 01:30:28 +00:00
parent b63641b36c
commit 76de945acc
+5 -1
View File
@@ -25,8 +25,12 @@ jobs:
# Extract repository name without owner
REPO_NAME_ONLY=$(echo "$REPO_NAME" | cut -d'/' -f2)
# Convert to lowercase for Docker registry compatibility
REPO_OWNER_LOWER=$(echo "$REPO_OWNER" | tr '[:upper:]' '[:lower:]')
REPO_NAME_LOWER=$(echo "$REPO_NAME_ONLY" | tr '[:upper:]' '[:lower:]')
# Base image path
IMAGE_BASE="${REGISTRY}/${REPO_OWNER}/${REPO_NAME_ONLY}"
IMAGE_BASE="${REGISTRY}/${REPO_OWNER_LOWER}/${REPO_NAME_LOWER}"
# Determine tag based on ref
if [[ "${{ gitea.ref }}" == refs/tags/* ]]; then