From b0dada0d3e6403301dc7b994f791c62482d87ba4 Mon Sep 17 00:00:00 2001 From: ManDeep Singh Date: Thu, 10 Oct 2024 10:19:19 +0000 Subject: [PATCH] Update docker-image.yml --- .github/workflows/docker-image.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index c142bc9..a37a3b8 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -14,13 +14,13 @@ jobs: steps: - uses: actions/checkout@v4 - env: - NEXT_PUBLIC_CONVEX_URL: ${{ vars.NEXT_PUBLIC_CONVEX_URL }} - NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: ${{vars.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY }} + # env: + # NEXT_PUBLIC_CONVEX_URL: ${{ vars.NEXT_PUBLIC_CONVEX_URL }} + # NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: ${{vars.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY }} - name: Check variables run: | - echo "environment: $ENVIRONMENT_STAGE" - echo "convex variable : $NEXT_PUBLIC_CONVEX_URL" - echo "clerk variable : $NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY" + echo "environment: ${{ vars.ENVIRONMENT_STAGE }}" + echo "convex variable : ${{ vars.NEXT_PUBLIC_CONVEX_URL }}" + echo "clerk variable : ${{ vars.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY }}" - name: Build the Docker image - run: docker build . --build-arg NEXT_PUBLIC_CONVEX_URL=$NEXT_PUBLIC_CONVEX_URL --build-arg NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=$NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY --file Dockerfile --tag aionair:$(date +%s) + run: docker build . --build-arg NEXT_PUBLIC_CONVEX_URL=${{ vars.NEXT_PUBLIC_CONVEX_URL }} --build-arg NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=${{ vars.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY }} --file Dockerfile --tag aionair:$(date +%s)