fix: Update docker-publish.yml adding step for creating .env

This commit is contained in:
Elie Baier 2023-12-18 10:44:42 +01:00 committed by GitHub
parent 8203e2ed89
commit 5c8e7c2fc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -66,6 +66,9 @@ jobs:
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