Skip to content

Commit

Permalink
release and logo changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nitinkr0411 committed Aug 19, 2024
1 parent 213c5fe commit dd98369
Show file tree
Hide file tree
Showing 11 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 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
- changes
tags:
- v*

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-aws-ecr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ jobs:
with:
role-to-assume: ${{ vars.MLPOC_BRUKER_GH_ROLE_ARN }}
role-session-name: DNA-Automation-Github-Actions-Session
aws-region: ${{ github.even.inputs.region }}
aws-region: ap-southeast-2
- name: ☁️ Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
- name: 🐳 Tag and push docker image to Amazon ECR
run: |
docker tag ghcr.io/rio-tinto/open-webui:${{ github.event.inputs.source_docker_tag }} ${{ github.even.inputs.account_id }}.dkr.ecr.${{ github.even.inputs.region }}.amazonaws.com/open-webui:${{ github.event.inputs.destination_docker_tag }}
docker push ${{ github.even.inputs.account_id }}.dkr.ecr.${{ github.even.inputs.region }}.amazonaws.com/open-webui:${{ github.event.inputs.destination_docker_tag }}
docker tag ghcr.io/rio-tinto/open-webui:${{ github.event.inputs.source_docker_tag }} ${{ github.event.inputs.account_id }}.dkr.ecr.${{ github.event.inputs.region }}.amazonaws.com/open-webui:${{ github.event.inputs.destination_docker_tag }}
docker push ${{ github.event.inputs.account_id }}.dkr.ecr.${{ github.event.inputs.region }}.amazonaws.com/open-webui:${{ github.event.inputs.destination_docker_tag }}
2 changes: 1 addition & 1 deletion backend/apps/webui/routers/auths.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ async def signin(request: Request, response: Response, form_data: SigninForm):
trusted_email = decode_token_from_alb(jwt)["email"]
trusted_email = trusted_email.lower()
trusted_name = trusted_email

if WEBUI_AUTH_TRUSTED_NAME_HEADER:
trusted_name = request.headers.get(
WEBUI_AUTH_TRUSTED_NAME_HEADER, trusted_email
Expand Down
Binary file modified backend/static/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified backend/static/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified backend/static/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion backend/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def decode_token(token: str) -> Optional[dict]:
except Exception:
return None


def decode_token_from_alb(token: str) -> Optional[dict]:
try:
payload = jwt.decode(token, options={"verify_signature": False})
Expand Down
Binary file modified static/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/static/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/static/splash-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/static/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dd98369

Please sign in to comment.