From d718578d7ba22fde0e7d42c85c0ea39c95744657 Mon Sep 17 00:00:00 2001 From: usmansbk Date: Mon, 18 Dec 2023 22:25:48 +0100 Subject: [PATCH] nit --- .github/workflows/build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7b6532a..bbe7663 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,6 +25,8 @@ jobs: with: username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} + - name: Load environment variables + run: npx dotenv-vault pull production .env --dotenvMe=${{ secrets.DOTENV_ME }} - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Build and push @@ -34,6 +36,3 @@ jobs: file: ./Dockerfile push: true tags: ${{ secrets.DOCKER_HUB_USERNAME }}/${{ github.repository }}:${{ github.ref_name }} - secrets: | - "DONTENV_ME=${{ secrets.DOTENV_ME }}" - "DATABASE_URL=${{ secrets.DATABASE_URL }}"