Skip to content

Commit

Permalink
Fix deploy Render. Strint connection to mongodb error
Browse files Browse the repository at this point in the history
  • Loading branch information
LauroSilveira committed Nov 16, 2023
1 parent aafe3ba commit 4b27c2f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

env:
JWT_SECRET: ${{ secrets.JWT_SECRET }}
DATABASE_PRO: ${{ secrets.DATABASE_PRO }}
DATABASE_TEST: ${{ secrets.DATABASE_TEST }}

- name: Build the Docker image
run: docker build . --file Dockerfile --tag alura-flix-api:$(date +%s) --build-arg DATABASE_PRO=${{ secrets.DATABASE_PRO }} --build-arg DATABASE_TEST=${{ secrets.DATABASE_TEST }} --build-arg DATABASE_TEST=${{ secrets.DATABASE_TEST }}

0 comments on commit 4b27c2f

Please sign in to comment.