Update image tags in AWS workflow and docker-compose.yml

This commit is contained in:
Stan Girard 2024-02-07 14:15:24 -08:00
parent c0c0c7107a
commit a1dbce559c
3 changed files with 6 additions and 5 deletions

View File

@ -65,7 +65,7 @@ jobs:
context: ./backend/
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:${{ env.IMAGE_TAG }}, ${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:latest, ghcr.io/quivrhq/quivr:latest, quivrhq/quivr-backend-prebuilt:latest, quivrhq/quivr-backend-prebuilt:${{ env.IMAGE_TAG }}
tags: ${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:${{ env.IMAGE_TAG }}, ${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:latest, ghcr.io/quivrhq/quivr:latest, stangirard/quivr-backend-prebuilt:latest, stangirard/quivr-backend-prebuilt:${{ env.IMAGE_TAG }}
cache-from: type=gha
cache-to: type=gha,mode=max

View File

@ -77,6 +77,7 @@ class UserUsage(UserIdentity):
)
if daily_requests_count == 0:
logger.info("Request count is 0, creating new record")
if self.email is None:
raise ValueError("User Email should be defined for daily usage table")
self.supabase_db.create_user_daily_usage(

View File

@ -22,7 +22,7 @@ services:
- 3000:3000
backend-core:
image: quivrhq/quivr-backend-prebuilt:latest
image: stangirard/quivr-backend-prebuilt:latest
pull_policy: if_not_present
env_file:
- .env
@ -57,7 +57,7 @@ services:
worker:
pull_policy: if_not_present
image: quivrhq/quivr-backend-prebuilt:latest
image: stangirard/quivr-backend-prebuilt:latest
env_file:
- .env
build:
@ -70,7 +70,7 @@ services:
- redis
beat:
image: quivrhq/quivr-backend-prebuilt:latest
image: stangirard/quivr-backend-prebuilt:latest
pull_policy: if_not_present
env_file:
- .env
@ -84,7 +84,7 @@ services:
- redis
flower:
image: quivrhq/quivr-backend-prebuilt:latest
image: stangirard/quivr-backend-prebuilt:latest
pull_policy: if_not_present
env_file:
- .env