From d75acd0e0715110154f39eca8ff0e2f0659e89fa Mon Sep 17 00:00:00 2001 From: usmansbk Date: Mon, 18 Dec 2023 13:56:11 +0100 Subject: [PATCH] nit --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index beed0b5..48701e4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,9 +20,6 @@ jobs: run: yarn - name: Run tests run: yarn test - env: - DOTENV_KEY: ${{ secrets.DOTENV_KEY }} - DATABASE_URL: ${{ secrets.DATABASE_URL }} - name: Login to Docker Hub uses: docker/login-action@v2 with: @@ -32,6 +29,9 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Build and push uses: docker/build-push-action@v3 + env: + DOTENV_KEY: ${{ secrets.DOTENV_KEY }} + DATABASE_URL: ${{ secrets.DATABASE_URL }} with: context: . file: ./Dockerfile