Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KrishDave1 authored Nov 16, 2024
1 parent eba5aa8 commit 1b74222
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,17 @@ jobs:
docker build \
--build-arg UPSTASH_REDIS_REST_URL=${{ secrets.UPSTASH_REDIS_REST_URL }} \
--build-arg UPSTASH_REDIS_REST_TOKEN=${{ secrets.UPSTASH_REDIS_REST_TOKEN }} \
--build-arg GOOGLE_CLIENT_ID= ${{ secrets.GOOGLE_CLIENT_ID }} \
--build-arg GOOGLE_CLIENT_SECRET= ${{ secrets.GOOGLE_CLIENT_SECRET }} \
--build-arg NEXTAUTH_SECRET= ${{ secrets.NEXTAUTH_SECRET }} \
--build-arg PUSHER_APP_ID= ${{ secrets.PUSHER_APP_ID }} \
--build-arg NEXT_PUBLIC_PUSHER_KEY= ${{ secrets.NEXT_PUBLIC_PUSHER_KEY }} \
--build-arg PUSHER_SECRET= ${{ secrets.PUSHER_SECRET }} \
--build-arg PUSHER_CLUSTER= ${{ secrets.PUSHER_CLUSTER }} \
--build-arg NEXTAUTH_URL= ${{ secrets.NEXTAUTH_URL }} \
--build-arg GOOGLE_CLIENT_ID=${{ secrets.GOOGLE_CLIENT_ID }} \
--build-arg GOOGLE_CLIENT_SECRET=${{ secrets.GOOGLE_CLIENT_SECRET }} \
--build-arg NEXTAUTH_SECRET=${{ secrets.NEXTAUTH_SECRET }} \
--build-arg PUSHER_APP_ID=${{ secrets.PUSHER_APP_ID }} \
--build-arg NEXT_PUBLIC_PUSHER_KEY=${{ secrets.NEXT_PUBLIC_PUSHER_KEY }} \
--build-arg PUSHER_SECRET=${{ secrets.PUSHER_SECRET }} \
--build-arg PUSHER_CLUSTER=${{ secrets.PUSHER_CLUSTER }} \
--build-arg NEXTAUTH_URL=${{ secrets.NEXTAUTH_URL }} \
-t $IMAGE_NAME .
docker push $IMAGE_NAME
docker push $IMAGE_NAME
IMAGE_NAME=***:latest
deploy:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 1b74222

Please sign in to comment.