diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index ab7b9d4..5f49c4d 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -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