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:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user