Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
deepsingh132 authored Oct 10, 2024
1 parent 8e2d516 commit b0dada0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit b0dada0

Please sign in to comment.