diff --git a/.github/workflows/deploy-live.yml b/.github/workflows/deploy-live.yml index 8254186..cc89e68 100644 --- a/.github/workflows/deploy-live.yml +++ b/.github/workflows/deploy-live.yml @@ -25,7 +25,14 @@ jobs: - name: Build Docker image run: | - docker build -t in-house-queue-site . + docker build -t inhousequeue-site \ + --build-arg DATABASE_URL=${{ secrets.DATABASE_URL }} \ + --build-arg NEXTAUTH_SECRET=${{ secrets.NEXTAUTH_SECRET }} \ + --build-arg DISCORD_CLIENT_ID=${{ secrets.DISCORD_CLIENT_ID }} \ + --build-arg DISCORD_CLIENT_SECRET=${{ secrets.DISCORD_CLIENT_SECRET }} \ + --build-arg UPSTASH_REDIS_REST_URL=${{ secrets.UPSTASH_REDIS_REST_URL }} \ + --build-arg UPSTASH_REDIS_REST_TOKEN=${{ secrets.UPSTASH_REDIS_REST_TOKEN }} \ + . - name: Login to Amazon ECR uses: aws-actions/configure-aws-credentials@v4