diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 4c5cfd6..7d4949e 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -65,12 +65,17 @@ jobs: uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + + - name: Create .env file + run: echo DATABASE_URL=${{ secrets.DATABASE_URL }} > .env # Build and push Docker image with Buildx (don't push on PR) # https://github.com/docker/build-push-action - name: Build and push Docker image id: build-and-push uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0 + env: + DATABASE_URL: ${{ secrets.DATABASE_URL }} with: context: . push: ${{ github.event_name != 'pull_request' }} diff --git a/README.md b/README.md index b341baf..f621d9f 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ npm run start Designed & made with love by [Elie Baier](https://github.com/fayorg), [Tim Haller](https://github.com/timhaller) & [Michal Polka](https://github.com/michalpolka). -We'd like to thanks Ms. Tixhon for the good idea and the great gifts! +We'd like to thanks Mrs. Tixhon for the good idea and the great gifts! Don't forget : FUCK MATH!