Skip to content

Commit

Permalink
Add nextauth and calendso encryption to test runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
alishaz-polymath authored Sep 28, 2023
1 parent 83d34f8 commit 3161242
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/docker-build-push-dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,14 @@ jobs:

- name: Test runtime
run: |
docker run --rm --network stack -e DATABASE_URL=postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@database/${{ env.POSTGRES_DB }} docker.io/calcom/cal.com:add-runtime-check
docker run --rm --network stack \
-e DATABASE_URL=postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@database/${{ env.POSTGRES_DB }} \
-e NEXTAUTH_URL=${{ env.NEXTAUTH_URL }} \
-e CALENDSO_ENCRYPTION_KEY=${{ env.CALENDSO_ENCRYPTION_KEY }} \
docker.io/calcom/cal.com:add-runtime-check
env:
NEXTAUTH_URL: 'EI4qqDpcfdvf4A+0aQEEx8JjHxHSy4uWiZw/F32K+pA='
CALENDSO_ENCRYPTION_KEY: '0zfLtY99wjeLnsM7qsa8xsT+Q0oSgnOL'

- name: Upload runtime log on failure
if: steps.test_runtime.outputs.exit_code != '0'
Expand Down

0 comments on commit 3161242

Please sign in to comment.