Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 16 additions & 6 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
branches:
- main
- dev
- custom_name_envvar
tags:
- v*

Expand All @@ -14,7 +15,7 @@ env:

jobs:
build-main-image:
runs-on: ubuntu-latest
runs-on: arc-runner-set
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -111,7 +112,7 @@ jobs:
retention-days: 1

build-cuda-image:
runs-on: ubuntu-latest
runs-on: arc-runner-set
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -211,7 +212,7 @@ jobs:
retention-days: 1

build-ollama-image:
runs-on: ubuntu-latest
runs-on: arc-runner-set
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -311,7 +312,10 @@ jobs:
retention-days: 1

merge-main-images:
runs-on: ubuntu-latest
runs-on: arc-runner-set
permissions:
contents: read
packages: write
needs: [build-main-image]
steps:
# GitHub Packages requires the entire repository name to be in lowercase
Expand Down Expand Up @@ -365,7 +369,10 @@ jobs:
docker buildx imagetools inspect ${{ env.FULL_IMAGE_NAME }}:${{ steps.meta.outputs.version }}

merge-cuda-images:
runs-on: ubuntu-latest
runs-on: arc-runner-set
permissions:
contents: read
packages: write
needs: [build-cuda-image]
steps:
# GitHub Packages requires the entire repository name to be in lowercase
Expand Down Expand Up @@ -421,7 +428,10 @@ jobs:
docker buildx imagetools inspect ${{ env.FULL_IMAGE_NAME }}:${{ steps.meta.outputs.version }}

merge-ollama-images:
runs-on: ubuntu-latest
runs-on: arc-runner-set
permissions:
contents: read
packages: write
needs: [build-ollama-image]
steps:
# GitHub Packages requires the entire repository name to be in lowercase
Expand Down
3 changes: 2 additions & 1 deletion backend/open_webui/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,10 +538,11 @@ def load_oauth_providers():
####################################

CUSTOM_NAME = os.environ.get("CUSTOM_NAME", "")
OWUI_API_URL = os.environ.get("OWUI_API_URL", "https://api.openwebui.com")

if CUSTOM_NAME:
try:
r = requests.get(f"https://api.openwebui.com/api/v1/custom/{CUSTOM_NAME}")
r = requests.get(f"{OWUI_API_URL}/api/v1/custom/{CUSTOM_NAME}")
data = r.json()
if r.ok:
if "logo" in data:
Expand Down
9 changes: 4 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"devDependencies": {
"@sveltejs/adapter-auto": "3.2.2",
"@sveltejs/adapter-static": "^3.0.2",
"@sveltejs/kit": "^2.5.20",
"@sveltejs/kit": "^2.15.1",
"@sveltejs/vite-plugin-svelte": "^3.1.1",
"@tailwindcss/typography": "^0.5.13",
"@typescript-eslint/eslint-plugin": "^6.17.0",
Expand Down