diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 0f1fed2..6dd8724 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -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 }} \ No newline at end of file