Skip to content

Commit

Permalink
--no-edit
Browse files Browse the repository at this point in the history
  • Loading branch information
LauroSilveira committed Nov 15, 2023
1 parent 51e2aa7 commit eef3828
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DATABASE_PRO=mongodb+srv://laurosilveira:6Vos5cYJ9JfxidsQ@alura-flix-test.qixe2kd.mongodb.net/?retryWrites=true&w=majority
DATABASE_TEST=mongodb+srv://alura-flix-admin:UxOM6SSAtQHpDeEd@alura-flix.z61opfc.mongodb.net/?retryWrites=true&w=majority
JWT_SECRET=123456
3 changes: 2 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

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

0 comments on commit eef3828

Please sign in to comment.