1
0
mirror of https://github.com/Fayorg/calendrier-avant.git synced 2026-05-27 17:18:38 +02:00

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

View File

@@ -65,6 +65,9 @@ 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