From 7d7c522e417d0310ddc25ae37179640e875da8e4 Mon Sep 17 00:00:00 2001 From: Luis Guilherme de Souza Munhoz <81170691+luisgmunhoz@users.noreply.github.com> Date: Mon, 9 Oct 2023 15:04:29 -0300 Subject: [PATCH] Update build-and-push.yaml --- .github/workflows/build-and-push.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-push.yaml b/.github/workflows/build-and-push.yaml index e454ef2..14a5ce4 100644 --- a/.github/workflows/build-and-push.yaml +++ b/.github/workflows/build-and-push.yaml @@ -17,9 +17,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + - name: 'Create env file' + run: | + echo "${{ secrets.DOCKER_ENV_FILE }}" > .env - name: Build run: | - docker compose --env-file=/github/secrets/${{ secrets.DOCKER_ENV_FILE }} build + docker compose build - name: Push Auth Image env: DOCKER_BUILDKIT: 1