Fixed production issues, fixed render issues, added secret and env variables into dockerfile and gihub actions files, remade dockerfile and github actions

This commit is contained in:
2025-12-05 20:37:26 -05:00
parent 1893b8b371
commit 9a37330ede
7 changed files with 80 additions and 92 deletions

View File

@@ -53,6 +53,7 @@ jobs:
context: .
push: ${{ !github.event.pull_request.head.repo.fork }}
tags: ${{ steps.meta.outputs.tags }}
build-args: API_URL=DATABASE_URL=${{ secrets.DATABASE_URL }}
- name: Build and Push Latest Docker Image
id: build-and-push-latest
uses: docker/build-push-action@v4
@@ -61,3 +62,4 @@ jobs:
context: .
push: true
tags: ${{ env.REGISTRY }}/${{ env.OWNER }}/${{ env.IMAGE_NAME }}:latest
build-args: DATABASE_URL=${{ secrets.DATABASE_URL }}