Skip to content

Commit

Permalink
testing 12
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaytonSmith committed Jun 12, 2024
1 parent 00f4edc commit 5bce4ae
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/docker_push_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,17 @@ jobs:
env:
THE_TAGS: ${{ steps.meta.outputs.tags }}
run: |
docker push ${{ steps.meta.outputs.tags }}
docker push ${{ steps.meta.outputs.tags }}
# Deploy the image to Cloud Run
- name: Deploy to Cloud Run
run: |
gcloud run deploy ${{ env.IMAGE_NAME }} \
--image ${{ steps.meta.outputs.tags }} \
--platform managed \
--region us-central1 \
--allow-unauthenticated \
--update-env-vars DATABASE_URL=${{ secrets.DATABASE_URL }},COHERE_API_KEY=${{ secrets.COHERE_API_KEY }} \
--memory 4Gi \
--cpu 4
--max-instances 1

0 comments on commit 5bce4ae

Please sign in to comment.